1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,461316,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({html:e,height:t=null,width:n=null,children:i,dataNtpc:a=""}){return(0,o.useEffect)(()=>{a&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${a}`}})},[a]),(0,r.jsxs)(r.Fragment,{children:[i,e?(0,r.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=n?`${n}px`:"auto"},"data-ntpc":a,dangerouslySetInnerHTML:{__html:e}}):null]})};let r=e.r(843476),o=e.r(271645)},654576,(e,t,n)=>{"use strict";let r;var o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:o="dataLayer",nonce:s}=e;return void 0===r&&(r=o),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 2 window['${o}'] = window['${o}'] || []; 3 function gtag(){window['${o}'].push(arguments);} 4 gtag('js', new Date()); 5 6 gtag('config', '${t}' ${n?",{ 'debug_mode': true }":""});`},nonce:s}),(0,i.jsx)(l.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:s})]})},n.sendGAEvent=function(){void 0===r?console.warn("@next/third-parties: GA has not been initialized"):window[r]?window[r].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${r} does not exist`)};let i=e.r(843476),a=e.r(271645),l=o(e.r(3303))},19598,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.sendGTMEvent=void 0,n.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n,dataLayerName:r="dataLayer",auth:s,preview:u,dataLayer:c,nonce:d}=e;l=r;let f=new URL(n||"https://www.googletagmanager.com/gtm.js");return t&&f.searchParams.set("id",t),"dataLayer"!==r&&f.searchParams.set("l",r),s&&f.searchParams.set("gtm_auth",s),u&&(f.searchParams.set("gtm_preview",u),f.searchParams.set("gtm_cookies_win","x")),(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 7 (function(w,l){ 8 w[l]=w[l]||[]; 9 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 10 ${c?`w[l].push(${JSON.stringify(c)})`:""} 11 })(window,'${r}');`},nonce:d}),(0,o.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:f.href,nonce:d})]})};let o=e.r(843476),i=e.r(271645),a=r(e.r(3303)),l="dataLayer";n.sendGTMEvent=(e,t)=>{let n=t||l;window[n]=window[n]||[],window[n].push(e)}},3303,(e,t,n)=>{t.exports=e.r(479520)},361641,e=>{"use strict";var t=e.i(843476),n=e.i(770703),r=e.i(618566),o=e.i(271645);let i=(0,n.default)(()=>e.A(561650),{loadableGenerated:{modules:[942965]},ssr:!1}),a=(0,o.createContext)(null);e.s(["default",0,function({userAttributes:n,logoImage:l,thinkWebConfiguration:s,children:u}){let c=(0,r.useRouter)(),[d,f]=(0,o.useState)(!1),[p,m]=(0,o.useState)(!1),[h,g]=(0,o.useState)(null),v=(0,o.useRef)(null),x=(0,o.useRef)(n?"authenticated":null);(0,o.useEffect)(()=>{document.cookie.includes("LastAuthUser")&&f(!0)},[]);let w=(0,o.useCallback)(()=>{e.A(722115).catch(()=>{})},[]),y=(0,o.useCallback)(e=>{v.current=e,f(!0),m(!0)},[]),b=(0,o.useCallback)(e=>{if(g(e),"authenticated"===e&&m(!1),"configuring"===e)return;let t=x.current;x.current=e,t&&t!==e&&c.refresh()},[c]),C="authenticated"===h||!!n,j=p&&null===h;(0,o.useEffect)(()=>{if(!j)return;let e=e=>{"Escape"===e.key&&m(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[j]);let E=(0,o.useMemo)(()=>({userAttributes:n,signedIn:C,dialogOpen:p,openSignIn:y,warmUpIsland:w}),[n,C,p,y,w]);return(0,t.jsxs)(a.Provider,{value:E,children:[u,j&&(0,t.jsx)("div",{"aria-hidden":!0,
11className:"fixed inset-0 z-[999] bg-black/50",onClick:()=>m(!1)}),d&&(0,t.jsx)(i,{open:p,onOpenChange:m,onAuthStatusChange:b,restoreFocusRef:v,logoImage:l,thinkWebConfiguration:s})]})},"useThinkTravelAuth",0,function(){let e=(0,o.useContext)(a);if(!e)throw Error("useThinkTravelAuth requires a ThinkTravelAuthProvider above it (Header/Header2 render one around their header helpers)");return e}])},188031,e=>{"use strict";let t,n,r,o;var i=e.i(843476),a=e.i(984954),l=e.i(271645),s=e.i(981140),u=e.i(820783),c=e.i(30030),d=e.i(369340),f=e.i(248425);function p(e){var t;let n,r=(t=e,(n=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){var o;let e,i,a=(o=n,(i=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(i=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),s=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(s.ref=t?(0,u.composeRefs)(t,a):a),l.cloneElement(n,s)}return l.Children.count(n)>1?l.Children.only(null):null})).displayName=`${t}.SlotClone`,n),o=l.forwardRef((e,t)=>{let{children:n,...o}=e,a=l.Children.toArray(n),s=a.find(h);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,i.jsx)(r,{...o,ref:t,children:l.isValidElement(e)?l.cloneElement(e,void 0,n):null})}return(0,i.jsx)(r,{...o,ref:t,children:n})});return o.displayName=`${e}.Slot`,o}var m=Symbol("radix.slottable");function h(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}function g(e){let t=e+"CollectionProvider",[n,r]=(0,c.createContextScope)(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,r=l.default.useRef(null),a=l.default.useRef(new Map).current;return(0,i.jsx)(o,{scope:t,itemMap:a,collectionRef:r,children:n})};s.displayName=t;let d=e+"CollectionSlot",f=p(d),m=l.default.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=a(d,n),l=(0,u.useComposedRefs)(t,o.collectionRef);return(0,i.jsx)(f,{ref:l,children:r})});m.displayName=d;let h=e+"CollectionItemSlot",g="data-radix-collection-item",v=p(h),x=l.default.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,s=l.default.useRef(null),c=(0,u.useComposedRefs)(t,s),d=a(h,n);return l.default.useEffect(()=>(d.itemMap.set(s,{ref:s,...o}),()=>void d.itemMap.delete(s))),(0,i.jsx)(v,{...{[g]:""},ref:c,children:r})});return x.displayName=h,[{Provider:s,Slot:m,ItemSlot:x},function(t){let n=a(e+"CollectionConsumer",t);return l.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var v=l.createContext(void 0);function x(e){let t=l.useContext(v);return e||t||"ltr"}var w=e.i(726330),y=e.i(303536),b=e.i(765491),C=e.i(610772);let j=["top","right","bottom","left"],E=Math.min,R=Math.max,k=Math.round,_=Math.floor,T=e=>({x:e,y:e}),N={left:"right",right:"left",bottom:"top",top:"bottom"};function S(e,t){return"function"==typeof e?e(t):e}function M(e){return e.split("-")[0]}function P(e){return e.split("-")[1]}function A(e){return"x"===e?"y":"x"}function D(e){return"y"===e?"height":"width"}function O(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function L(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let I=["left","right"],F=["right","left"],H=["top","bottom"],$=["bottom","top"];function W(e){let t=M(e);return N[t]+e.slice(t.length)}function V(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function B(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function K(e,t,n){let r,{reference:o,floating:i}=e,a=O(t),l=A(O(t)),s=D(l),u=M(t),c="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;switch(u){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(P(t)){case"start":r[l]-=p*(n&&c?-1:1);break;case"end":r[l]+=p*(n&&c?-1:1)}return r}async function z(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=S(t,e),m=V(p),h=l[f?"floating"===d?"reference":"floating":d],g=B(await i.getClippingRect
11({element:null==(n=await (null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,x=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),w=await (null==i.isElement?void 0:i.isElement(x))&&await (null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},y=B(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:x,strategy:s}):v);return{top:(g.top-y.top+m.top)/w.y,bottom:(y.bottom-g.bottom+m.bottom)/w.y,left:(g.left-y.left+m.left)/w.x,right:(y.right-g.right+m.right)/w.x}}let G=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=a.detectOverflow?a:{...a,detectOverflow:z},s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=K(u,r,s),f=r,p=0,m={};for(let n=0;n<i.length;n++){let h=i[n];if(!h)continue;let{name:g,fn:v}=h,{x:x,y:w,data:y,reset:b}=await v({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:m,rects:u,platform:l,elements:{reference:e,floating:t}});c=null!=x?x:c,d=null!=w?w:d,m[g]={...m[g],...y},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:c,y:d}=K(u,f,s)),n=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:m}};function U(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function X(e){return j.some(t=>e[t]>=0)}let Y=new Set(["left","top"]);async function q(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=M(n),l=P(n),s="y"===O(n),u=Y.has(a)?-1:1,c=i&&s?-1:1,d=S(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),s?{x:p*c,y:f*u}:{x:f*u,y:p*c}}function Z(){return"u">typeof window}function J(e){return et(e)?(e.nodeName||"").toLowerCase():"#document"}function Q(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ee(e){var t;return null==(t=(et(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function et(e){return!!Z()&&(e instanceof Node||e instanceof Q(e).Node)}function en(e){return!!Z()&&(e instanceof Element||e instanceof Q(e).Element)}function er(e){return!!Z()&&(e instanceof HTMLElement||e instanceof Q(e).HTMLElement)}function eo(e){return!(!Z()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Q(e).ShadowRoot)}function ei(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ep(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function ea(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let el=/transform|translate|scale|rotate|perspective|filter/,es=/paint|layout|strict|content/,eu=e=>!!e&&"none"!==e;function ec(e){let t=en(e)?ep(e):e;return eu(t.transform)||eu(t.translate)||eu(t.scale)||eu(t.rotate)||eu(t.perspective)||!ed()&&(eu(t.backdropFilter)||eu(t.filter))||el.test(t.willChange||"")||es.test(t.contain||"")}function ed(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function ef(e){return/^(html|body|#document)$/.test(J(e))}function ep(e){return Q(e).getComputedStyle(e)}function em(e){return en(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eh(e){if("html"===J(e))return e;let t=e.assignedSlot||e.parentNode||eo(e)&&e.host||ee(e);return eo(t)?t.host:t}function eg(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eh(t);return ef(n)?t.ownerDocument?t.ownerDocument.body:t.body:er(n)&&ei(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Q(o);if(!i)return t.concat(o,eg(o,[],n));{let e=ev(a);
11return t.concat(a,a.visualViewport||[],ei(o)?o:[],e&&n?eg(e):[])}}function ev(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ex(e){let t=ep(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=er(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=k(n)!==i||k(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function ew(e){return en(e)?e:e.contextElement}function ey(e){let t=ew(e);if(!er(t))return T(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ex(t),a=(i?k(n.width):n.width)/r,l=(i?k(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let eb=T(0);function eC(e){let t=Q(e);return ed()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eb}function ej(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=ew(e),l=T(1);t&&(r?en(r)&&(l=ey(r)):l=ey(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===Q(a))&&o)?eC(a):T(0),u=(i.left+s.x)/l.x,c=(i.top+s.y)/l.y,d=i.width/l.x,f=i.height/l.y;if(a){let e=Q(a),t=r&&en(r)?Q(r):r,n=e,o=ev(n);for(;o&&r&&t!==n;){let e=ey(o),t=o.getBoundingClientRect(),r=ep(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=i,c+=a,o=ev(n=Q(o))}}return B({width:d,height:f,x:u,y:c})}function eE(e,t){let n=em(e).scrollLeft;return t?t.left+n:ej(ee(e)).left+n}function eR(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eE(e,n),y:n.top+t.scrollTop}}function ek(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=Q(e),r=ee(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=ed();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}let u=eE(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else u<=25&&(i+=u);return{width:i,height:a,x:l,y:s}}(e,n);else if("document"===t){let t,n,i,a,l,s,u;r=ee(e),t=ee(r),n=em(r),i=r.ownerDocument.body,a=R(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=R(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+eE(r),u=-n.scrollTop,"rtl"===ep(i).direction&&(s+=R(t.clientWidth,i.clientWidth)-a),o={width:a,height:l,x:s,y:u}}else if(en(t)){let e,r,i,a,l,s;r=(e=ej(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,a=er(t)?ey(t):T(1),l=t.clientWidth*a.x,s=t.clientHeight*a.y,o={width:l,height:s,x:i*a.x,y:r*a.y}}else{let n=eC(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return B(o)}function e_(e){return"static"===ep(e).position}function eT(e,t){if(!er(e)||"fixed"===ep(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ee(e)===n&&(n=n.ownerDocument.body),n}function eN(e,t){var n;let r=Q(e);if(ea(e))return r;if(!er(e)){let t=eh(e);for(;t&&!ef(t);){if(en(t)&&!e_(t))return t;t=eh(t)}return r}let o=eT(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(J(n)))&&e_(o);)o=eT(o,t);return o&&ef(o)&&e_(o)&&!ec(o)?r:o||function(e){let t=eh(e);for(;er(t)&&!ef(t);){if(ec(t))return t;if(ea(t))break;t=eh(t)}return null}(e)||r}let eS=async function(e){let t=this.getOffsetParent||eN,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=er(t),o=ee(t),i="fixed"===n,a=ej(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=T(0);if(r||!r&&!i)if(("body"!==J(t)||ei(o))&&(l=em(t)),r){let e=ej(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=eE(o));i&&!r&&o&&(s.x=eE(o));let u=!o||r||i?T(0):eR(o,l);return{x:a.left+l.scrollLeft-s.x-u.x,y:a.top+l.scrollTop-s.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eM={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=ee(r),l=!!t&&ea(t.floating);if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=T(1),c=T(0),d=er(r);if((d||!d&&!i)&&(("body"!==J(r)||ei(a))&&(s=em(r)),d)){let e=ej(r);u=ey(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let f=!a||d||i?T(0):eR(a,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-s.scrollTop*u.y+c.y+f.y}},getDocumentElement:ee,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?ea(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eg(e,[],!1).filter(e=>en(e)&&"body"!==J(e)),o=null,i="fixed"===ep(e).position,a=i?eh(e):e;for(;en(a)&&!ef(a);){let t=ep(a),n=ec(a);n||"fixed"!==t.position||(o=null),(i?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||ei(a)&&!n&&function e(t,n){let r=eh(t);return!(r===n||!en(r)||ef(r))&&("fixed"===ep(r).position||e(r,n))}
11(e,a)))?o=t:r=r.filter(e=>e!==a),a=eh(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=ek(t,i[0],o),l=a.top,s=a.right,u=a.bottom,c=a.left;for(let e=1;e<i.length;e++){let n=ek(t,i[e],o);l=R(n.top,l),s=E(n.right,s),u=E(n.bottom,u),c=R(n.left,c)}return{width:s-c,height:u-l,x:c,y:l}},getOffsetParent:eN,getElementRects:eS,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ex(e);return{width:t,height:n}},getScale:ey,isElement:en,isRTL:function(e){return"rtl"===ep(e).direction}};function eP(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eA=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:c=0}=S(e,t)||{};if(null==u)return{};let d=V(c),f={x:n,y:r},p=A(O(o)),m=D(p),h=await a.getDimensions(u),g="y"===p,v=g?"clientHeight":"clientWidth",x=i.reference[m]+i.reference[p]-f[p]-i.floating[m],w=f[p]-i.reference[p],y=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),b=y?y[v]:0;b&&await (null==a.isElement?void 0:a.isElement(y))||(b=l.floating[v]||i.floating[m]);let C=b/2-h[m]/2-1,j=E(d[g?"top":"left"],C),k=E(d[g?"bottom":"right"],C),_=b-h[m]-k,T=b/2-h[m]/2+(x/2-w/2),N=R(j,E(T,_)),M=!s.arrow&&null!=P(o)&&T!==N&&i.reference[m]/2-(T<j?j:k)-h[m]/2<0,L=M?T<j?T-j:T-_:0;return{[p]:f[p]+L,data:{[p]:N,centerOffset:T-N-L,...M&&{alignmentOffset:L}},reset:M}}});var eD=e.i(174080),eO="u">typeof document?l.useLayoutEffect:function(){};function eL(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eL(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eL(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eI(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eF(e,t){let n=eI(e);return Math.round(t*n)/n}function eH(e){let t=l.useRef(e);return eO(()=>{t.current=e}),t}var e$=l.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...a}=e;return(0,i.jsx)(f.Primitive.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,i.jsx)("polygon",{points:"0,0 30,0 15,10"})})});e$.displayName="Arrow";var eW=e.i(30207),eV=e.i(934620),eB="Popper",[eK,ez]=(0,c.createContextScope)(eB),[eG,eU]=eK(eB),eX=e=>{let{__scopePopper:t,children:n}=e,[r,o]=l.useState(null);return(0,i.jsx)(eG,{scope:t,anchor:r,onAnchorChange:o,children:n})};eX.displayName=eB;var eY="PopperAnchor",eq=l.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,a=eU(eY,n),s=l.useRef(null),c=(0,u.useComposedRefs)(t,s),d=l.useRef(null);return l.useEffect(()=>{let e=d.current;d.current=r?.current||s.current,e!==d.current&&a.onAnchorChange(d.current)}),r?null:(0,i.jsx)(f.Primitive.div,{...o,ref:c})});eq.displayName=eY;var eZ="PopperContent",[eJ,eQ]=eK(eZ),e0=l.forwardRef((e,t)=>{var n,r,o,a,s,c,d,p,m,h,g,v,x;let w,y,b,C,j,k,{__scopePopper:T,side:N="bottom",sideOffset:V=0,align:B="center",alignOffset:K=0,arrowPadding:z=0,avoidCollisions:Z=!0,collisionBoundary:J=[],collisionPadding:Q=0,sticky:et="partial",hideWhenDetached:en=!1,updatePositionStrategy:er="optimized",onPlaced:eo,...ei}=e,ea=eU(eZ,T),[el,es]=l.useState(null),eu=(0,u.useComposedRefs)(t,e=>es(e)),[ec,ed]=l.useState(null),ef=function(e){let[t,n]=l.useState(void 0);return(0,eV.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(ec),ep=ef?.width??0,em=ef?.height??0,eh="number"==typeof Q?Q:{top:0,right:0,bottom:0,left:0,...Q},ev=Array.isArray(J)?J:[J],ex=ev.length>0,ey={padding:eh,boundary:ev.filter(e4),altBoundary:ex},{refs:eb,floatingStyles:eC,placement:eE,isPositioned:eR,middlewareData:ek}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[d,f]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=l.useState(r);eL(p,r)||m(r);let[h,g]=l.useState(null),[v,x]=l.useState(null),w=l.useCallback(e=>
11{e!==j.current&&(j.current=e,g(e))},[]),y=l.useCallback(e=>{e!==E.current&&(E.current=e,x(e))},[]),b=i||h,C=a||v,j=l.useRef(null),E=l.useRef(null),R=l.useRef(d),k=null!=u,_=eH(u),T=eH(o),N=eH(c),S=l.useCallback(()=>{var e,r;let o,i,a;if(!j.current||!E.current)return;let l={placement:t,strategy:n,middleware:p};T.current&&(l.platform=T.current),(e=j.current,r=E.current,o=new Map,a={...(i={platform:eM,...l}).platform,_c:o},G(e,r,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==N.current};M.current&&!eL(R.current,t)&&(R.current=t,eD.flushSync(()=>{f(t)}))})},[p,t,n,T,N]);eO(()=>{!1===c&&R.current.isPositioned&&(R.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let M=l.useRef(!1);eO(()=>(M.current=!0,()=>{M.current=!1}),[]),eO(()=>{if(b&&(j.current=b),C&&(E.current=C),b&&C){if(_.current)return _.current(b,C,S);S()}},[b,C,S,_,k]);let P=l.useMemo(()=>({reference:j,floating:E,setReference:w,setFloating:y}),[w,y]),A=l.useMemo(()=>({reference:b,floating:C}),[b,C]),D=l.useMemo(()=>{let e={position:n,left:0,top:0};if(!A.floating)return e;let t=eF(A.floating,d.x),r=eF(A.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eI(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,A.floating,d.x,d.y]);return l.useMemo(()=>({...d,update:S,refs:P,elements:A,floatingStyles:D}),[d,S,P,A,D])}({strategy:"fixed",placement:N+("center"!==B?"-"+B:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=ew(e),d=i||a?[...c?eg(c):[],...t?eg(t):[]]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=c&&s?function(e,t){let n,r=null,o=ee(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();let u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=u;if(l||t(),!f||!p)return;let m={rootMargin:-_(d)+"px "+-_(o.clientWidth-(c+f))+"px "+-_(o.clientHeight-(d+p))+"px "+-_(c)+"px",threshold:R(0,E(1,s))||1},h=!0;function g(t){let r=t[0].intersectionRatio;if(r!==s){if(!h)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||eP(u,e.getBoundingClientRect())||a(),h=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),i}(c,n):null,p=-1,m=null;l&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!u&&m.observe(c),t&&m.observe(t));let h=u?ej(e):null;return u&&function t(){let r=ej(e);h&&!eP(h,r)&&n(),h=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,u&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===er}),elements:{reference:ea.anchor},middleware:[{name:(w={name:"offset",options:r=n={mainAxis:V+em,alignmentAxis:K},async fn(e){var t,n;let{x:o,y:i,placement:a,middlewareData:l}=e,s=await q(e,r);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}).name,fn:w.fn,options:[n,void 0]},Z&&{name:(y={name:"shift",options:s=a={mainAxis:!0,crossAxis:!1,limiter:"partial"===et?{fn:(o=void 0,{options:o={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:a}=e,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=S(o,e),c={x:t,y:n},d=O(r),f=A(d),p=c[f],m=c[d],h=S(l,e),g="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(s){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+g.mainAxis,n=i.reference[f]+i.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var v,x;let e="y"===f?"width":"height",t=Y.has(M(r)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),o=i.reference[d]+i.reference[e]+(t?0:(null==(x=a.offset)?void 0:x[d])||0)-(t?g.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[f]:p,[d]:m}}}).fn,options:[void 0,void 0]}:void 0,...ey},async fn(e){let{x:t,y:n,placement:r,platform:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=S(s,e),c={x:t,y:n},d=await o.detectOverflow(e,u),f=O(M(r)),p=A(f),m=c[p],h=c[f];
11if(i){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=m+d[e],r=m-d[t];m=R(n,E(m,r))}if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+d[e],r=h-d[t];h=R(n,E(h,r))}let g=l.fn({...e,[p]:m,[f]:h});return{...g,data:{x:g.x-t,y:g.y-n,enabled:{[p]:i,[f]:a}}}}}).name,fn:y.fn,options:[a,void 0]},Z&&{name:(b={name:"flip",options:d=c={...ey},async fn(e){var t,n,r,o,i,a,l,s;let u,c,f,{placement:p,middlewareData:m,rects:h,initialPlacement:g,platform:v,elements:x}=e,{mainAxis:w=!0,crossAxis:y=!0,fallbackPlacements:b,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:E=!0,...R}=S(d,e);if(null!=(t=m.arrow)&&t.alignmentOffset)return{};let k=M(p),_=O(g),T=M(g)===g,N=await (null==v.isRTL?void 0:v.isRTL(x.floating)),V=b||(T||!E?[W(g)]:(u=W(g),[L(g),u,L(u)])),B="none"!==j;!b&&B&&V.push(...(c=P(g),f=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?F:I;return t?I:F;case"left":case"right":return t?H:$;default:return[]}}(M(g),"start"===j,N),c&&(f=f.map(e=>e+"-"+c),E&&(f=f.concat(f.map(L)))),f));let K=[g,...V],z=await v.detectOverflow(e,R),G=[],U=(null==(n=m.flip)?void 0:n.overflows)||[];if(w&&G.push(z[k]),y){let e,t,n,r,o=(a=p,l=h,void 0===(s=N)&&(s=!1),e=P(a),n=D(t=A(O(a))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=W(r)),[r,W(r)]);G.push(z[o[0]],z[o[1]])}if(U=[...U,{placement:p,overflows:G}],!G.every(e=>e<=0)){let e=((null==(r=m.flip)?void 0:r.index)||0)+1,t=K[e];if(t&&("alignment"!==y||_===O(t)||U.every(e=>O(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:U},reset:{placement:t}};let n=null==(o=U.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let e=null==(i=U.filter(e=>{if(B){let t=O(e.placement);return t===_||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=g}if(p!==n)return{reset:{placement:n}}}return{}}}).name,fn:b.fn,options:[c,void 0]},{name:(C={name:"size",options:m=p={...ey,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,n;let r,o,{placement:i,rects:a,platform:l,elements:s}=e,{apply:u=()=>{},...c}=S(m,e),d=await l.detectOverflow(e,c),f=M(i),p=P(i),h="y"===O(i),{width:g,height:v}=a.floating;"top"===f||"bottom"===f?(r=f,o=p===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(o=f,r="end"===p?"top":"bottom");let x=v-d.top-d.bottom,w=g-d.left-d.right,y=E(v-d[r],x),b=E(g-d[o],w),C=!e.middlewareData.shift,j=y,k=b;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(k=w),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(j=x),C&&!p){let e=R(d.left,0),t=R(d.right,0),n=R(d.top,0),r=R(d.bottom,0);h?k=g-2*(0!==e||0!==t?e+t:R(d.left,d.right)):j=v-2*(0!==n||0!==r?n+r:R(d.top,d.bottom))}await u({...e,availableWidth:k,availableHeight:j});let _=await l.getDimensions(s.floating);return g!==_.width||v!==_.height?{reset:{rects:!0}}:{}}}).name,fn:C.fn,options:[p,void 0]},ec&&{name:(j={name:"arrow",options:g=h={element:ec,padding:z},fn(e){let{element:t,padding:n}="function"==typeof g?g(e):g;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eA({element:t.current,padding:n}).fn(e):{}:t?eA({element:t,padding:n}).fn(e):{}}}).name,fn:j.fn,options:[h,void 0]},e6({arrowWidth:ep,arrowHeight:em}),en&&{name:(k={name:"hide",options:x=v={strategy:"referenceHidden",...ey},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=S(x,e);switch(r){case"referenceHidden":{let r=U(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:X(r)}}}case"escaped":{let r=U(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:X(r)}}}default:return{}}}}).name,fn:k.fn,options:[v,void 0]}]}),[e_,eT]=e3(eE),eN=(0,eW.useCallbackRef)(eo);(0,eV.useLayoutEffect)(()=>{eR&&eN?.()},[eR,eN]);let eS=ek.arrow?.x,e$=ek.arrow?.y,eB=ek.arrow?.centerOffset!==0,[eK,ez]=l.useState();return(0,eV.useLayoutEffect)(()=>{el&&ez(window.getComputedStyle(el).zIndex)},[el]),(0,i.jsx)("div",{ref:eb.setFloating,"data-radix-popper-content-wrapper":"",style:{...eC,transform:eR?eC.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eK,"--radix-popper-transform-origin":[ek.transformOrigin?.x,ek.transformOrigin?.y].join(" "),...ek.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,i.jsx)(eJ,{scope:T,placedSide:e_,onArrowChange:ed,arrowX:eS,arrowY:e$,shouldHideArrow:eB,children:(0,i.jsx)(f.Primitive.div,{"data-side":e_,"data-align":eT,...ei,ref:eu,style:{...ei.style,animation:eR?void 0:"none"}})})})});e0.displayName=eZ;var e1="PopperArrow",e2={top:"bottom",right:"left",bottom:"top",left:"r
11ight"},e5=l.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eQ(e1,n),a=e2[o.placedSide];return(0,i.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,i.jsx)(e$,{...r,ref:t,style:{...r.style,display:"block"}})})});function e4(e){return null!==e}e5.displayName=e1;var e6=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[s,u]=e3(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+l/2,p="",m="";return"bottom"===s?(p=i?c:`${d}px`,m=`${-l}px`):"top"===s?(p=i?c:`${d}px`,m=`${r.floating.height+l}px`):"right"===s?(p=`${-l}px`,m=i?c:`${f}px`):"left"===s&&(p=`${r.floating.width+l}px`,m=i?c:`${f}px`),{data:{x:p,y:m}}}});function e3(e){let[t,n="center"]=e.split("-");return[t,n]}var e8=e.i(774606),e7=e.i(296626),e9="rovingFocusGroup.onEntryFocus",te={bubbles:!1,cancelable:!0},tt="RovingFocusGroup",[tn,tr,to]=g(tt),[ti,ta]=(0,c.createContextScope)(tt,[to]),[tl,ts]=ti(tt),tu=l.forwardRef((e,t)=>(0,i.jsx)(tn.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,i.jsx)(tn.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,i.jsx)(tc,{...e,ref:t})})}));tu.displayName=tt;var tc=l.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:c,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:m,onEntryFocus:h,preventScrollOnEntryFocus:g=!1,...v}=e,w=l.useRef(null),y=(0,u.useComposedRefs)(t,w),b=x(a),[C,j]=(0,d.useControllableState)({prop:c,defaultProp:p??null,onChange:m,caller:tt}),[E,R]=l.useState(!1),k=(0,eW.useCallbackRef)(h),_=tr(n),T=l.useRef(!1),[N,S]=l.useState(0);return l.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(e9,k),()=>e.removeEventListener(e9,k)},[k]),(0,i.jsx)(tl,{scope:n,orientation:r,dir:b,loop:o,currentTabStopId:C,onItemFocus:l.useCallback(e=>j(e),[j]),onItemShiftTab:l.useCallback(()=>R(!0),[]),onFocusableItemAdd:l.useCallback(()=>S(e=>e+1),[]),onFocusableItemRemove:l.useCallback(()=>S(e=>e-1),[]),children:(0,i.jsx)(f.Primitive.div,{tabIndex:E||0===N?-1:0,"data-orientation":r,...v,ref:y,style:{outline:"none",...e.style},onMouseDown:(0,s.composeEventHandlers)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,s.composeEventHandlers)(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!E){let t=new CustomEvent(e9,te);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=_().filter(e=>e.focusable);tm([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),g)}}T.current=!1}),onBlur:(0,s.composeEventHandlers)(e.onBlur,()=>R(!1))})})}),td="RovingFocusGroupItem",tf=l.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,children:u,...c}=e,d=(0,C.useId)(),p=a||d,m=ts(td,n),h=m.currentTabStopId===p,g=tr(n),{onFocusableItemAdd:v,onFocusableItemRemove:x,currentTabStopId:w}=m;return l.useEffect(()=>{if(r)return v(),()=>x()},[r,v,x]),(0,i.jsx)(tn.ItemSlot,{scope:n,id:p,focusable:r,active:o,children:(0,i.jsx)(f.Primitive.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:(0,s.composeEventHandlers)(e.onMouseDown,e=>{r?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,s.composeEventHandlers)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return tp[o]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=g().filter(e=>
11e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=m.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>tm(o))}}),children:"function"==typeof u?u({isCurrentTabStop:h,hasTabStop:null!=w}):u})})});tf.displayName=td;var tp={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tm(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var th=Symbol("radix.slottable");function tg(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===th}var tv=e.i(186312),tx=e.i(985369),tw=["Enter"," "],ty=["ArrowUp","PageDown","End"],tb=["ArrowDown","PageUp","Home",...ty],tC={ltr:[...tw,"ArrowRight"],rtl:[...tw,"ArrowLeft"]},tj={ltr:["ArrowLeft"],rtl:["ArrowRight"]},tE="Menu",[tR,tk,t_]=g(tE),[tT,tN]=(0,c.createContextScope)(tE,[t_,ez,ta]),tS=ez(),tM=ta(),[tP,tA]=tT(tE),[tD,tO]=tT(tE),tL=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:a,modal:s=!0}=e,u=tS(t),[c,d]=l.useState(null),f=l.useRef(!1),p=(0,eW.useCallbackRef)(a),m=x(o);return l.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,i.jsx)(eX,{...u,children:(0,i.jsx)(tP,{scope:t,open:n,onOpenChange:p,content:c,onContentChange:d,children:(0,i.jsx)(tD,{scope:t,onClose:l.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:m,modal:s,children:r})})})};tL.displayName=tE;var tI=l.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=tS(n);return(0,i.jsx)(eq,{...o,...r,ref:t})});tI.displayName="MenuAnchor";var tF="MenuPortal",[tH,t$]=tT(tF,{forceMount:void 0}),tW=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=tA(tF,t);return(0,i.jsx)(tH,{scope:t,forceMount:n,children:(0,i.jsx)(e7.Presence,{present:n||a.open,children:(0,i.jsx)(e8.Portal,{asChild:!0,container:o,children:r})})})};tW.displayName=tF;var tV="MenuContent",[tB,tK]=tT(tV),tz=l.forwardRef((e,t)=>{let n=t$(tV,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=tA(tV,e.__scopeMenu),l=tO(tV,e.__scopeMenu);return(0,i.jsx)(tR.Provider,{scope:e.__scopeMenu,children:(0,i.jsx)(e7.Presence,{present:r||a.open,children:(0,i.jsx)(tR.Slot,{scope:e.__scopeMenu,children:l.modal?(0,i.jsx)(tG,{...o,ref:t}):(0,i.jsx)(tU,{...o,ref:t})})})})}),tG=l.forwardRef((e,t)=>{let n=tA(tV,e.__scopeMenu),r=l.useRef(null),o=(0,u.useComposedRefs)(t,r);return l.useEffect(()=>{let e=r.current;if(e)return(0,tv.hideOthers)(e)},[]),(0,i.jsx)(tY,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,s.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),tU=l.forwardRef((e,t)=>{let n=tA(tV,e.__scopeMenu);return(0,i.jsx)(tY,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),tX=((o=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){var o;let e,i,a=(o=n,(i=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(i=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),s=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(s.ref=t?(0,u.composeRefs)(t,a):a),l.cloneElement(n,s)}return l.Children.count(n)>1?l.Children.only(null):null})).displayName="MenuContent.ScrollLock.SlotClone",n=o,(r=l.forwardRef((e,t)=>
11{let{children:r,...o}=e,a=l.Children.toArray(r),s=a.find(tg);if(s){let e=s.props.children,r=a.map(t=>t!==s?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,i.jsx)(n,{...o,ref:t,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,i.jsx)(n,{...o,ref:t,children:r})})).displayName="MenuContent.ScrollLock.Slot",r),tY=l.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEntryFocus:f,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:g,onDismiss:v,disableOutsideScroll:x,...C}=e,j=tA(tV,n),E=tO(tV,n),R=tS(n),k=tM(n),_=tk(n),[T,N]=l.useState(null),S=l.useRef(null),M=(0,u.useComposedRefs)(t,S,j.onContentChange),P=l.useRef(0),A=l.useRef(""),D=l.useRef(0),O=l.useRef(null),L=l.useRef("right"),I=l.useRef(0),F=x?tx.RemoveScroll:l.Fragment;l.useEffect(()=>()=>window.clearTimeout(P.current),[]),(0,y.useFocusGuards)();let H=l.useCallback(e=>{var t,n;return L.current===O.current?.side&&(t=e,!!(n=O.current?.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],l=t[i],s=a.x,u=a.y,c=l.x,d=l.y;u>r!=d>r&&n<(c-s)*(r-u)/(d-u)+s&&(o=!o)}return o}({x:t.clientX,y:t.clientY},n))},[]);return(0,i.jsx)(tB,{scope:n,searchRef:A,onItemEnter:l.useCallback(e=>{H(e)&&e.preventDefault()},[H]),onItemLeave:l.useCallback(e=>{H(e)||(S.current?.focus(),N(null))},[H]),onTriggerLeave:l.useCallback(e=>{H(e)&&e.preventDefault()},[H]),pointerGraceTimerRef:D,onPointerGraceIntentChange:l.useCallback(e=>{O.current=e},[]),children:(0,i.jsx)(F,{...x?{as:tX,allowPinchZoom:!0}:void 0,children:(0,i.jsx)(b.FocusScope,{asChild:!0,trapped:o,onMountAutoFocus:(0,s.composeEventHandlers)(a,e=>{e.preventDefault(),S.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,i.jsx)(w.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:g,onDismiss:v,children:(0,i.jsx)(tu,{asChild:!0,...k,dir:E.dir,orientation:"vertical",loop:r,currentTabStopId:T,onCurrentTabStopIdChange:N,onEntryFocus:(0,s.composeEventHandlers)(f,e=>{E.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,i.jsx)(e0,{role:"menu","aria-orientation":"vertical","data-state":nd(j.open),"data-radix-menu-content":"",dir:E.dir,...R,...C,ref:M,style:{outline:"none",...C.style},onKeyDown:(0,s.composeEventHandlers)(C.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;if(t){var o;let t,i,a,l,s,u;"Tab"===e.key&&e.preventDefault(),!n&&r&&(o=e.key,t=A.current+o,i=_().filter(e=>!e.disabled),a=document.activeElement,l=i.find(e=>e.ref.current===a)?.textValue,s=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=(r=Math.max(i,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(a=a.filter(e=>e!==n));let l=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}(i.map(e=>e.textValue),t,l),u=i.find(e=>e.textValue===s)?.ref.current,function e(t){A.current=t,window.clearTimeout(P.current),""!==t&&(P.current=window.setTimeout(()=>e(""),1e3))}(t),u&&setTimeout(()=>u.focus()))}let i=S.current;if(e.target!==i||!tb.includes(e.key))return;e.preventDefault();let a=_().filter(e=>!e.disabled).map(e=>e.ref.current);ty.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,s.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(P.current),A.current="")}
11),onPointerMove:(0,s.composeEventHandlers)(e.onPointerMove,nm(e=>{let t=e.target,n=I.current!==e.clientX;e.currentTarget.contains(t)&&n&&(L.current=e.clientX>I.current?"right":"left",I.current=e.clientX)}))})})})})})})});tz.displayName=tV;var tq=l.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,i.jsx)(f.Primitive.div,{role:"group",...r,ref:t})});tq.displayName="MenuGroup";var tZ=l.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,i.jsx)(f.Primitive.div,{...r,ref:t})});tZ.displayName="MenuLabel";var tJ="MenuItem",tQ="menu.itemSelect",t0=l.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...o}=e,a=l.useRef(null),c=tO(tJ,e.__scopeMenu),d=tK(tJ,e.__scopeMenu),p=(0,u.useComposedRefs)(t,a),m=l.useRef(!1);return(0,i.jsx)(t1,{...o,ref:p,disabled:n,onClick:(0,s.composeEventHandlers)(e.onClick,()=>{let e=a.current;if(!n&&e){let t=new CustomEvent(tQ,{bubbles:!0,cancelable:!0});e.addEventListener(tQ,e=>r?.(e),{once:!0}),(0,f.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?m.current=!1:c.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),m.current=!0},onPointerUp:(0,s.composeEventHandlers)(e.onPointerUp,e=>{m.current||e.currentTarget?.click()}),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;n||t&&" "===e.key||tw.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});t0.displayName=tJ;var t1=l.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:o,...a}=e,c=tK(tJ,n),d=tM(n),p=l.useRef(null),m=(0,u.useComposedRefs)(t,p),[h,g]=l.useState(!1),[v,x]=l.useState("");return l.useEffect(()=>{let e=p.current;e&&x((e.textContent??"").trim())},[a.children]),(0,i.jsx)(tR.ItemSlot,{scope:n,disabled:r,textValue:o??v,children:(0,i.jsx)(tf,{asChild:!0,...d,focusable:!r,children:(0,i.jsx)(f.Primitive.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:m,onPointerMove:(0,s.c
11omposeEventHandlers)(e.onPointerMove,nm(e=>{r?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,s.composeEventHandlers)(e.onPointerLeave,nm(e=>c.onItemLeave(e))),onFocus:(0,s.composeEventHandlers)(e.onFocus,()=>g(!0)),onBlur:(0,s.composeEventHandlers)(e.onBlur,()=>g(!1))})})})}),t2=l.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,i.jsx)(ne,{scope:e.__scopeMenu,checked:n,children:(0,i.jsx)(t0,{role:"menuitemcheckbox","aria-checked":nf(n)?"mixed":n,...o,ref:t,"data-state":np(n),onSelect:(0,s.composeEventHandlers)(o.onSelect,()=>r?.(!!nf(n)||!n),{checkForDefaultPrevented:!1})})})});t2.displayName="MenuCheckboxItem";var t5="MenuRadioGroup",[t4,t6]=tT(t5,{value:void 0,onValueChange:()=>{}}),t3=l.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,a=(0,eW.useCallbackRef)(r);return(0,i.jsx)(t4,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,i.jsx)(tq,{...o,ref:t})})});t3.displayName=t5;var t8="MenuRadioItem",t7=l.forwardRef((e,t)=>{let{value:n,...r}=e,o=t6(t8,e.__scopeMenu),a=n===o.value;return(0,i.jsx)(ne,{scope:e.__scopeMenu,checked:a,children:(0,i.jsx)(t0,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":np(a),onSelect:(0,s.c
11omposeEventHandlers)(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});t7.displayName=t8;var t9="MenuItemIndicator",[ne,nt]=tT(t9,{checked:!1}),nn=l.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,a=nt(t9,n);return(0,i.jsx)(e7.Presence,{present:r||nf(a.checked)||!0===a.checked,children:(0,i.jsx)(f.Primitive.span,{...o,ref:t,"data-state":np(a.checked)})})});nn.displayName=t9;var nr=l.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,i.jsx)(f.Primitive.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});nr.displayName="MenuSeparator";var no=l.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=tS(n);return(0,i.jsx)(e5,{...o,...r,ref:t})});no.displayName="MenuArrow";var[ni,na]=tT("MenuSub"),nl="MenuSubTrigger",ns=l.forwardRef((e,t)=>{let n=tA(nl,e.__scopeMenu),r=tO(nl,e.__scopeMenu),o=na(nl,e.__scopeMenu),a=tK(nl,e.__scopeMenu),c=l.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:f}=a,p={__scopeMenu:e.__scopeMenu},m=l.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return l.useEffect(()=>m,[m]),l.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),f(null)}},[d,f]),(0,i.jsx)(tI,{asChild:!0,...p,children:(0,i.jsx)(t1,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":nd(n.open),...e,ref:(0,u.composeRefs)(t,o.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))}
11,onPointerMove:(0,s.composeEventHandlers)(e.onPointerMove,nm(t=>{a.onItemEnter(t),!t.defaultPrevented&&(e.disabled||n.open||c.current||(a.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,s.composeEventHandlers)(e.onPointerLeave,nm(e=>{m();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,o="right"===r,i=t[o?"left":"right"],l=t[o?"right":"left"];a.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:i,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:i,y:t.bottom}],side:r}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,t=>{let o=""!==a.searchRef.current;e.disabled||o&&" "===t.key||tC[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});ns.displayName=nl;var nu="MenuSubContent",nc=l.forwardRef((e,t)=>{let n=t$(tV,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=tA(tV,e.__scopeMenu),c=tO(tV,e.__scopeMenu),d=na(nu,e.__scopeMenu),f=l.useRef(null),p=(0,u.useComposedRefs)(t,f);return(0,i.jsx)(tR.Provider,{scope:e.__scopeMenu,children:(0,i.jsx)(e7.Presence,{present:r||a.open,children:(0,i.jsx)(tR.Slot,{scope:e.__scopeMenu,children:(0,i.jsx)(tY,{id:d.contentId,"aria-labelledby":d.triggerId,...o,ref:p,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&f.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,s.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==d.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:(0,s.composeEventHandlers)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=tj[c.dir].includes(e.key);t&&n&&(a.onOpenChange(!1),d.trigger?.focus(),e.preventDefault())})})})})})});function nd(e){return e?"open":"closed"}function nf(e){return"indeterminate"===e}function np(e){return nf(e)?"indeterminate":e?"checked":"unchecked"}function nm(e){return t=>"mouse"===t.pointerType?e(t):void 0}nc.displayName=nu;var nh="DropdownMenu",[ng,nv]=(0,c.createContextScope)(nh,[tN]),nx=tN(),[nw,ny]=ng(nh),nb=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:s,modal:u=!0}=e,c=nx(t),f=l.useRef(null),[p,m]=(0,d.useControllableState)({prop:o,defaultProp:a??!1,onChange:s,caller:nh});return(0,i.jsx)(nw,{scope:t,triggerId:(0,C.useId)(),triggerRef:f,contentId:(0,C.useId)(),open:p,onOpenChange:m,onOpenToggle:l.useCallback(()=>m(e=>!e),[m]),modal:u,children:(0,i.jsx)(tL,{...c,open:p,onOpenChange:m,dir:r,modal:u,children:n})})};nb.displayName=nh;var nC="DropdownMenuTrigger",nj=l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,a=ny(nC,n),l=nx(n);return(0,i.jsx)(tI,{asChild:!0,...l,children:(0,i.jsx)(f.Primitive.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:(0,u.composeRefs)(t,a.triggerRef),onPointerDown:(0,s.composeEventHandlers)(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&a.onOpenToggle(),"ArrowDown"===e.key&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});nj.displayName=nC;var nE=e=>{let{__scopeDropdownMenu:t,...n}=e,r=nx(t);return(0,i.jsx)(tW,{...r,...n})};nE.displayName="DropdownMenuPortal";var nR="DropdownMenuContent",nk=l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=ny(nR,n),a=nx(n),u=l.useRef(!1);return(0,i.jsx)(tz,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...r,ref:t,onCloseAutoFocus:(0,s.composeEventHandlers)(e.onCloseAutoFocus,e=>{u.current||o.triggerRef.current?.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,s.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});nk.displayName=nR,l.forwardRef((e,t)=>
11{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(tq,{...o,...r,ref:t})}).displayName="DropdownMenuGroup",l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(tZ,{...o,...r,ref:t})}).displayName="DropdownMenuLabel";var n_=l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(t0,{...o,...r,ref:t})});n_.displayName="DropdownMenuItem",l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(t2,{...o,...r,ref:t})}).displayName="DropdownMenuCheckboxItem",l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(t3,{...o,...r,ref:t})}).displayName="DropdownMenuRadioGroup",l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(t7,{...o,...r,ref:t})}).displayName="DropdownMenuRadioItem",l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(nn,{...o,...r,ref:t})}).displayName="DropdownMenuItemIndicator";var nT=l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(nr,{...o,...r,ref:t})});nT.displayName="DropdownMenuSeparator",l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(no,{...o,...r,ref:t})}).displayName="DropdownMenuArrow",l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(ns,{...o,...r,ref:t})}).displayName="DropdownMenuSubTrigger",l.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nx(n);return(0,i.jsx)(nc,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent",e.i(643957),e.i(746336),(0,e.i(456420).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var nN=e.i(975157);function nS({...e}){return(0,i.jsx)(nb,{"data-slot":"dropdown-menu",...e})}function nM({...e}){return(0,i.jsx)(nj,{"data-slot":"dropdown-menu-trigger",...e})}function nP({className:e,sideOffset:t=4,...n}){return(0,i.jsx)(nE,{children:(0,i.jsx)(nk,{"data-slot":"dropdown-menu-content",sideOffset:t,className:(0,nN.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto border p-1 shadow-md",e),...n})})}function nA({className:e,inset:t,variant:n="default",...r}){return(0,i.jsx)(n_,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":n,className:(0,nN.cn)("focus:bg-primary/10 focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}function nD({className:e,...t}){return(0,i.jsx)(nT,{"data-slot":"dropdown-menu-separator",className:(0,nN.cn)("bg-border -mx-1 my-1 h-px",e),...t})}var nO=e.i(948148),nL=e.i(657688);let nI={src:e.i(57213).default,width:28,height:28,blurWidth:0,blurHeight:0};var nF=e.i(361641);function nH(){let e=(0,nO.useTranslations)("ThinkTravelIdentification");return(0,i.jsx)(nL.default,{src:nI,alt:e("logo-alt"),height:18,width:18})}function n$({userAttributes:t,thinkWebConfiguration:n}){let r=(0,nO.useTranslations)("ThinkTravelIdentification"),o=t?.given_name;return(0,i.jsxs)(nS,{children:[(0,i.jsxs)(nM,{className:"hover:bg-think-blue/30 data-[state=open]:bg-think-blue/30 flex cursor-pointer gap-1.5 rounded-sm px-2 py-1.5",children:[(0,i.jsx)("div",{className:`${n.headerIsDarkMode?"text-white":"text-think-blue"} font-semibold`,children:o?`Hi, ${o}`:"Signing In"}),(0,i.jsx)(nH,{})]}),(0,i.jsxs)(nP,{align:"end",children:[(0,i.jsx)(nA,{asChild:!0,children:(0,i.jsx)(a.default,{href:"/account/reservations",children:r("my-reservations")})}),(0,i.jsx)(nD,{}),(0,i.jsx)(nA,{asChild:!0,children:(0,i.jsx)("a",{href:"#",onClick:t=>{t.preventDefault(),e.A(664682).then(({doSignOut:e})=>e()).catch(e=>{console.error("ThinkTravelIdentification: sign-out failed",e)})},children:r("sign-out")})})]})]})}e.s(["default",0,function({thinkWebConfiguration:e}){let t=(0,nO.useTranslations)("ThinkTravelIdentification"),{userAttributes:n,signedIn:r,dialogOpen:o,openSignIn:a,warmUpIsland:l}=(0,nF.useThinkTravelAuth)();return r?(0,i.jsx)(n$,{userAttributes:n,thinkWebConfiguration:e}):(0,i.jsxs)("button",{type:"button",className:"hover:bg-think-blue/30 flex cursor-pointer gap-1.5 rounded-sm px-2 py-1.5","data-think-travel-action":"sign-in","aria-haspopup":"dialog","aria-expanded":o,onMouseEnter:l,onFocus:l,onClick:e=>a(e.currentTarget),children:[(0,i.jsx)("div",{className:`${e.headerIsDarkMode?"text-white":"text-think-blue"} font-semibold`,children:t("sign-in")}),(0,i.jsx)(nH,{})]})}],188031)},216506,e=>{"use strict";var t=e.i(843476),n=e.i(464656),r=e.i(919477),o=e.i(271645);e.s(["default",0,({enabled:e,initialGranted:i,children:a})=>{let[l,s]=(0,o.useState)(i);return((0,o.useEffect)(()=>{"granted"===(0,r.readConsentChoiceFromDocument)()&&s(!0);let e=e=>{"granted"===e.detail&&s(!0)};return window.addEventListener(n.CONSENT_CHANGED_EVENT,e),()=>window.removeEventListener(n.CONSENT_CHANGED_EVENT,e)},[]),e)?l?(0,t.jsx)(t.Fragment,{children:a}):null:(0,t.jsx)(t.Fragment,{children:a})}])},19641,e=>{"use strict";var t=e.i(843476),n=e.i(464656),r=e.i(919477),o=e.i(861745),i=e.i(948148),a=e.i(271645);e.s(["default",0,({privacyUrl:e,defaultLanguageCode:l,initiallyVisible:s,trackingActive:u})=>{let c=(0,i.useTranslations)("CookieConsent"),d=(0,o.useLocale)(),[f,p]=(0,a.useState)(s),m=(0,a.useRef)(u);(0,a.useEffect)(()=>{(0,r.readConsentChoiceFromDocument)()&&p(!1);let e=()=>p(!0);return window.addEventListener(n.CONSENT_OPEN_EVENT,e),()=>window.removeEventListener(n.CONSENT_OPEN_EVENT,e)},[]);let h=e=>{let t;(t="https:"===window.location.protocol?"; secure":"",document.cookie=`${r.CONSENT_COOKIE}=${e}; path=/; max-age=31536000; samesite=lax${t}`,"denied"===e&&m.current)?window.location.reload():(window.gtag?.("consent","update",{ad_storage:e,ad_user_data:e,ad_personalization:e,anal
11ytics_storage:e}),window.dispatchEvent(new CustomEvent(n.CONSENT_CHANGED_EVENT,{detail:e})),"granted"===e&&(m.current=!0),p(!1))};if(!f)return null;let g=d===l?e:`/${d}${e}`,v="cursor-pointer whitespace-nowrap rounded px-[18px] py-2 text-sm leading-tight focus-visible:outline-2 focus-visible:outline-offset-2 font-[family-name:var(--body-font)]";return(0,t.jsx)("div",{className:"component cookie-consent-banner fixed right-0 bottom-0 left-0 z-1000 bg-white font-(family-name:--body-font) text-neutral-900 shadow-[0_-1px_8px_rgba(0,0,0,0.15)]",role:"region","aria-label":c("settings-link"),children:(0,t.jsxs)("div",{className:"cookie-consent-inner-wrapper mx-auto flex max-w-(--max-page-width) items-center justify-between gap-5 px-(--page-gutter) py-3.5 max-md:flex-col max-md:items-stretch max-md:gap-3",children:[(0,t.jsxs)("p",{className:"cookie-consent-message m-0! flex-1 text-sm leading-normal",children:[c("message")," ",e&&e.length>0&&(0,t.jsx)("a",{className:"text-primary underline",href:g,children:c("privacy-policy")})]}),(0,t.jsxs)("div",{className:"cookie-consent-actions flex shrink-0 items-center gap-2.5 max-md:justify-end",children:[(0,t.jsx)("button",{type:"button",className:`cookie-consent-reject ${v} border border-current bg-transparent`,onClick:()=>h("denied"),children:c("reject")}),(0,t.jsx)("button",{type:"button",className:`cookie-consent-accept ${v} border-primary bg-primary border text-white`,onClick:()=>h("granted"),children:c("accept")})]})]})})}])},474320,e=>{"use strict";var t=e.i(843476),n=e.i(464656),r=e.i(948148);e.s(["default",0,()=>{let e=(0,r.useTranslations)("CookieConsent");return(0,t.jsx)("button",{type:"button",className:"cookie-settings-link m-0 cursor-pointer border-0 bg-transparent p-0 font-[inherit] text-[var(--footer-link-color,currentColor)] underline",onClick:()=>window.dispatchEvent(new Event(n.CONSENT_OPEN_EVENT)),children:e("settings-link")})}])},481323,e=>{"use strict";var t=e.i(843476),n=e.i(4007),r=e.i(457258),o=e.i(861745),i=e.i(618566),a=e.i(271645);let l={en:"English",es:"Español","es-MX":"Español (México)",fr:"Français","fr-CA":"Français (Canada)",de:"Deutsch",pt:"Português (Brasil)","pt-PT":"Português (Portugal)",it:"Italiano",nl:"Nederlands",ja:"æ¥æ¬èª",zh:"䏿ï¼ç®ä½ï¼","zh-TW":"䏿ï¼ç¹é«ï¼",ko:"íêµì´",ru:"Ð ÑÑÑкий"};e.s(["default",0,()=>{let{supportedLanguageCodes:e,defaultLanguageCode:s}=(0,n.useLanguageConfig)(),u=(0,o.useLocale)(),[c,d]=(0,a.useState)(!1),[f,p]=(0,a.useState)(""),m=(0,a.useRef)(null),h=(0,i.usePathname)();if((0,a.useEffect)(()=>{p(window.location.search)},[h]),(0,a.useEffect)(()=>{let e=e=>{m.current&&!m.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),e.length<=1)return null;let g=[...e].sort((e,t)=>(l[e]||e).localeCompare(l[t]||t)),v=h.replace(/^\/([a-zA-Z0-9-]+)(\/|$)/,(t,n,o)=>(0,r.matchSupportedLanguage)(n,e)?o||"/":t);return(0,t.jsxs)("div",{className:"relative ml-[18px] inline-block border-l border-l-[var(--neutral--200)] pl-[18px]",ref:m,children:[(0,t.jsxs)("button",{className:"font-inherit flex cursor-pointer items-center gap-1.5 rounded border-none bg-transparent px-2 py-1 text-sm text-[color:var(--header-navigation-primary-link-color,var(--heading-color))] hover:opacity-80",onClick:()=>d(!c),"aria-expanded":c,"aria-haspopup":"listbox",children:[(0,t.jsx)("svg",{className:"shrink-0",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",width:"18",height:"18",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"})}),(0,t.jsx)("span",{children:l[u]||u})]}),c&&(0,t.jsx)("ul",{className:"absolute top-full right-0 z-[1000] !mt-1 min-w-[150px] !list-none rounded border border-[#e0e0e0] bg-white !py-1 !pl-0 shadow-[0_2px_8px_rgba(0,0,0,0.12)]",role:"listbox",children:g.map(e=>(0,t.jsx)("li",{role:"option","aria-selected":e===u,children:(0,t.jsx)("a",{className:`block px-4 py-2 text-sm text-[#333] no-underline hover:bg-[#f5f5f5] ${e===u?"font-semibold":""}`,href:`/${e}${"/"===v?"":v}${f}`,onClick:()=>d(!1),children:l[e]||e})},e))})]})}])},26978,e=>{"use strict";var t=e.i(843476),n=e.i(188031),r=e.i(481323),o=e.i(984954),i=e.i(6
1157688),a=e.i(522016),l=e.i(271645);e.s(["default",0,({logoImage:e,phoneNumber:s,navigation:u,thinkWebConfiguration:c})=>{let[d,f]=(0,l.useState)(!1),[p,m]=(0,l.useState)(""),h=u.map(e=>{if(!e.subnavigation||!(e.subnavigation.length>0))return(0,t.jsx)("li",{className:"primary-link",children:(0,t.jsx)(o.default,{href:e.href,onClick:()=>{f(!1)},children:(0,t.jsx)("span",{className:"label",children:e.label})})},e.label);{let n=e.subnavigation.map(e=>(0,t.jsx)("li",{className:"secondary-link",children:(0,t.jsx)(o.default,{href:e.href,onClick:()=>{f(!1)},children:(0,t.jsx)("span",{className:"label",children:e.label})})},e.label)),r=p===e.label;return(0,t.jsxs)("li",{className:`primary-link parent ${r?"opened":"closed"}`,children:[(0,t.jsx)(a.default,{href:"#",onClick:()=>{r?m(""):m(e.label)},"aria-haspopup":!0,"aria-expanded":r,children:(0,t.jsx)("span",{className:"label",children:e.label})}),(0,t.jsx)("ul",{className:"subnavigation",children:n})]},e.label)}});return(0,t.jsxs)("div",{className:"component mobile-header",children:[(0,t.jsx)("div",{className:"logo-container",children:e&&(0,t.jsx)(o.default,{href:"/",onClick:()=>{f(!1)},children:(0,t.jsx)(i.default,{src:e.src,width:e.width,height:e.height,alt:e.altText,priority:!0,fetchPriority:"high"})})}),(0,t.jsx)("div",{className:`hamburger-icon ${d?"is-opened":"is-closed"}`,children:(0,t.jsxs)("button",{onClick:()=>f(!d),"aria-expanded":d,"aria-label":d?"Close navigation":"Open navigation",children:[d&&(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),!d&&(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})]})}),d&&(0,t.jsx)("nav",{"aria-label":"Main navigation",children:(0,t.jsx)("ul",{children:h})}),(0,t.jsxs)("div",{className:"context-container",children:[(0,t.jsx)(r.default,{}),(0,t.jsx)(n.default,{thinkWebConfiguration:c})]})]})}])},910257,e=>{"use strict";var t=e.i(843476);let n=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"h-6 w-6",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})});var r=e.i(984954),o=e.i(271645);e.s(["default",0,({navigation:e})=>{let[i,a]=(0,o.useState)(null),[l,s]=(0,o.useState)(null),[u,c]=(0,o.useState)({}),d=(0,o.useId)(),f=e.map((e,o)=>{if(e.subnavigation&&e.subnavigation.length>0){let f=e.subnavigation.map(e=>{let n=e.href.startsWith("http");return(0,t.jsx)("li",{className:"secondary-link",children:n?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:e=>{e.currentTarget.blur(),s(o)},children:(0,t.jsx)("span",{className:"label",children:e.label})}):(0,t.jsx)(r.default,{href:e.href,onClick:e=>{e.currentTarget.blur(),s(o)},children:(0,t.jsx)("span",{className:"label",children:e.label})})},e.label)}),p=i===o,m=l===o,h=`${d}subnav-${o}`,g=()=>s(e=>e===o?null:e),v=e=>{let t=e.querySelector("ul.secondary-navigation");if(!t)return;let n=e.getBoundingClientRect().left+t.offsetWidth>document.documentElement.clientWidth;c(e=>e[o]===n?e:{...e,[o]:n})};return(0,t.jsxs)("li",{className:u[o]?"primary-link parent align-right":"primary-link parent",onMouseEnter:e=>v(e.currentTarget),onFocus:e=>{v(e.currentTarget),a(o),g()},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||a(null)},onMouseLeave:g,children:[(0,t.jsx)(r.default,{href:"#","aria-expanded":p,"aria-controls":h,onClick:e=>e.preventDefault(),children:(0,t.jsxs)("span",{className:"label",children:[e.label,(0,t.jsx)("span",{className:"chevron-down-container","aria-hidden":"true",children:(0,t.jsx)(n,{})})]})}),(0,t.jsx)("ul",{className:"secondary-navigation",id:h,style:m?{top:"-999999px",left:"-99999px"}:void 0,children:f})]},e.label)}{let n=e.href.startsWith("http");return(0,t.jsx)("li",{className:"primary-link",children:n?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)("span",{className:"label",children:e.label})}):(0,t.jsx)(r.default,{href:e.href,children:(0,t.jsx)("span",{className:"label",children:e.label})})},e.label)}});return(0,t.jsx)("nav",{"aria-label":"Main navigation",children:(0,t.jsx)("ul",{className:"primary-navigation",children:f})})}],910257)},464656,e=>{"use strict";e.s(["CONSENT_CHANGED_EVENT",0,"cookie-consent:changed","CONSENT_OPEN_EVENT",0,"cookie-consent:open"])},919477,e=>{"use strict";let t="cookie-consent";e.s(["CONSENT_COOKIE",0,t,"readConsentChoiceFromDocument",0,function(){var e;let n=document.cookie.split("; ").find(e=>e.startsWith(`${t}=`));return"granted"===(e=n?n.split("=")[1]:void 0)||"denied"===e?e:void 0}])}]);
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.