1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`58d6214076a908f9a2757ad8d7581f83b194e39b`}}catch{}})();import{i as e}from"./chunk-DhYv7lCv.js";import{t}from"./react-DJZuz1_Q.js";import{t as n}from"./jsx-runtime-B_Pg9wPV.js";import{t as r}from"./compiler-runtime-B-Qp9lHJ.js";import{t as i}from"./clsx-Bth9w4wq.js";import{t as a,u as o}from"./Icon-DGEqmQ7S.js";import{t as s}from"./createRuntimeFn-62c9670f.esm-DNlkAWtY.js";import{t as c}from"./List-Z2_L_BVd.js";import{t as l}from"./constants-OcL7RnmL.js";import{n as u,t as d}from"./Truncate-iZCrbQC5.js";import{t as f}from"./ChevronRight-DGdj7zKb.js";import{t as p}from"./useUi-Cc841poy.js";import{n as m}from"./useScrollAnchorContext-F_r1_UcI.js";var ee=`_1htigo33 _1htigo32 mzcxbh54 mzcxbh6q`,h=`_1htigo35 _1htigo34 _11l7u9s2r mzcxbh56 mzcxbh6q`,g=`_1htigo36 _11l7u9s2r`,_=`_1htigo310`,v=`_1htigo37`,y=s({defaultClassName:`_1htigo3q _1htigo3b _1htigo39 _1htigo38 _11l7u9s3 _11l7u9s2u _11l7u9s3u _11l7u9s8f mzcxbhm et2cj01v _1htigo3a _11l7u9sob _11l7u9so0 _11l7u9sqb _11l7u9sq0 h8s1m5dj h8s1m5e7`,variantClassNames:{color:{ADMIN_CITY:`_1htigo3r _1htigo3d _1htigo3c h8s1m5p`,ADMIN_CONTINENT:`_1htigo3s _1htigo3f _1htigo3e h8s1m57`,ADMIN_COUNTRY:`_1htigo3t _1htigo3h _1htigo3g h8s1m53d`,ADMIN_DISTRICT:`_1htigo3u _1htigo3j _1htigo3i h8s1m5p`,ADMIN_REGION:`_1htigo3v _1htigo3l _1htigo3k h8s1m52d`,ADMIN_WORLD:`_1htigo3w _1htigo3n _1htigo3m h8s1m53d`,TRAVEL_REGION:`_1htigo3x _1htigo3p _1htigo3o h8s1m52d`}},defaultVariants:{},compoundVariants:[]}),b=`_1htigo3z _1htigo39 _1htigo38 _11l7u9s3 _11l7u9s2u _11l7u9s3u _11l7u9s8f mzcxbhm et2cj01v _1htigo3y _11l7u9so9 _11l7u9sq9 et2cj0g et2cj0u`,x=`_1htigo312 _1htigo37 _1htigo311 et2cj0g mzcxbha`,S=`_1htigo315 _1htigo314 _1htigo313 _11l7u9s3 _11l7u9s2r _11l7u9s79 mzcxbh56 et2cj023`,C=`_1htigo316 _1htigo314 _1htigo313 _11l7u9s3 _11l7u9s2r _11l7u9s79 mzcxbh56 et2cj023`,w=e(r(),1),T=e(t(),1),E=e(n(),1),D=(0,T.forwardRef)((e,t)=>{let n=(0,w.c)(21),{onActivated:r,className:a,activeIfExact:s,children:c,...l}=e,u=(0,T.useRef)(null),{register:d,unregister:f,currentHash:ee}=m(),h=o(t,u),{pathname:g,Link:v}=p(),y=l.to.split(`#`)[1],b=l.to.split(`#`)[0],x=((s?g===b:g?.startsWith(b))||!b)&&(!y||ee===y),S,C;n[0]!==y||n[1]!==d||n[2]!==f?(S=()=>y?(d(y),()=>{f(y)}):O,C=[y,d,f],n[0]=y,n[1]=d,n[2]=f,n[3]=S,n[4]=C):(S=n[3],C=n[4]),(0,T.useEffect)(S,C);let D,k;n[5]!==x||n[6]!==r?(D=()=>{x&&r(u.current)},k=[x,r],n[5]=x,n[6]=r,n[7]=D,n[8]=k):(D=n[7],k=n[8]),(0,T.useEffect)(D,k);let A;n[9]!==a||n[10]!==x?(A=i(a,{active:x}),n[9]=a,n[10]=x,n[11]=A):A=n[11];let j;n[12]!==c||n[13]!==l.title?(j=(0,E.jsx)(`span`,{className:_,title:l.title,children:c}),n[12]=c,n[13]=l.title,n[14]=j):j=n[14];let M;return n[15]!==v||n[16]!==h||n[17]!==l||n[18]!==A||n[19]!==j?(M=(0,E.jsx)(v,{...l,ref:h,className:A,children:j}),n[15]=v,n[16]=h,n[17]=l,n[18]=A,n[19]=j,n[20]=M):M=n[20],M});D.displayName=`MarcoPoloSubNavLink`;function O(){}var k=e(r(),1),A=(0,T.forwardRef)((e,t)=>{let n=(0,k.c)(41),r,o,s,p,m;n[0]===e?(r=n[1],o=n[2],s=n[3],p=n[4],m=n[5]):({className:r,items:o,mainItem:s,color:m,...p}=e,n[0]=e,n[1]=r,n[2]=o,n[3]=s,n[4]=p,n[5]=m);let _=m===void 0?`ADMIN_REGION`:m,w=(0,T.useRef)(null),O;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(O={showLeftArrow:!1,showRightArrow:!1},n[6]=O):O=n[6];let[A,j]=(0,T.useState)(O),M,N;n[7]===Symbol.for(`react.memo_cache_sentinel`)?(M=()=>{let e=w.current,t=()=>{let{scrollLeft:t,scrollWidth:n,clientWidth:r}=e;j({showLeftArrow:t>0,showRightArrow:t<n-r})};return t(),e.addEventListener(`scroll`,t),window.addEventListener(`resize`,t,{passive:!0}),()=>{e.removeEventListener(`scroll`,t),window.removeEventListener(`resize`,t)}},N=[],n[7]=M,n[8]=N):(M=n[7],N=n[8]),(0,T.useEffect)(M,N);let P;n[9]===Symbol.for(`react.memo_cache_sentinel`)?(P=e=>{let t=w.current;t.scrollBy({behavior:`smooth`,left:e*t.clientWidth})},n[9]=P):P=n[9];let F=P,I;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(I=()=>F(-1),n[10]=I):I=n[10];let te=I,L;n[11]===Symbol.for(`react.memo_cache_sentinel`)?(L=()=>F(1),n[11]=L):L=n[11];let ne=L,R;n[12]===Symbol.for(`react.memo_cache_sentinel`)?(R=e=>{let t=w.current,{scrollLeft:n,clientWidth:r}=t,i=e.offsetLeft+e.clientWidth/2,a=n+r/2;t.scrollTo({behavior:`smooth`,left:n+i-a})},n[12]=R):R=n[12];let re=R,z,B;n[13]===Symbol.for(`react.memo_cache_sentinel`)?(B=()=>{let e=w.current;l()?e.style.overflow=`hidden`:e.style.overflow=`auto`},z=[],n[13]=z,n[14]=B):(z=n[13],B=n[14]),(0,T.useEffect)(B,z);let V;n[15]===r?V=n[16]:(V=i(ee,r),n[15]=r,n[16]=V);let H=!A.showLeftArrow,U;n[17]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,E.jsx)(`button`,{"aria-label":`Nach links`,type:`button`,onClick:te,children:(0,E.jsx)(a,{as:u,size:16})}),n[17]=U):U=n[17];let W;n[18]===H?W=n[19]:(W=(0,E.jsx)(`div`,{className:S,hidden:H,children:U}),n[18]=H,n[19]=W);let G;n[20]!==_||n[21]!==s?(G=s&&(0,E.jsx)(`li`,{className:`_1htigo37`,children:(0,E.jsx)(D,{className:y({color:_}),to:s.link,onActivated:re,children:(0,E.jsx)(d,{desktopUnset:!0,children:s.title})})}),n[20]=_,n[21]=s,n[22]=G):G=n[22];let K;n[23]===o?K=n[24]:(K=o?.map(e=>{let{title:t,link:n,activeIfExact:r}=e;return(0,E.jsx)(`li`,{className:v,children:(0,E.jsx)(D,{activeIfExact:r,className:b,title:t,to:n,onActivated:re,children:t})},t)}),n[23]=o,n[24]=K);let q;n[25]!==G||n[26]!==K?(q=(0,E.jsxs)(c,{className:g,children:[G,K]}),n[25]=G,n[26]=K,n[27]=q):q=n[27];let J;n[28]===Symbol.for(`react.memo_cache_sentinel`)?(J=(0,E.jsx)(`div`,{className:x}),n[28]=J):J=n[28];let Y;n[29]===q?Y=n[30]:(Y=(0,E.jsxs)(`div`,{ref:w,className:h,children:[q,J]}),n[29]=q,n[30]=Y);let X=!A.showRightArrow,Z;n[31]===Symbol.for(`react.memo_cache_sentinel`)?(Z=(0,E.jsx)(`button`,{"aria-label":`Nach rechts`,type:`button`,onClick:ne,children:(0,E.jsx)(a,{as:f,size:16})}),n[31]=Z):Z=n[31];let Q;n[32]===X?Q=n[33]:(Q=(0,E.jsx)(`div`,{className:C,hidden:X,children:Z}),n[32]=X,n[33]=Q);let $;return n[34]!==t||n[35]!==p||n[36]!==V||n[37]!==W||n[38]!==Y||n[39]!==Q?($=(0,E.jsxs)(`nav`,{className:V,...p,ref:t,children:[W,Y,Q]}),n[34]=t,n[35]=p,n[36]=V,n[37]=W,n[38]=Y,n[39]=Q,n[40]=$):$=n[40],$});A.displayName=`MarcoPoloSubNavigationBar`;export{A as t};
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.