PageSourceSearch

https://www.marcopolo.de/assets/CollapsibleText-Cm43u_Jj.js

js marcopolo.de collected 2026-09-24 09:44:29 UTC 4,215 bytes, 1 lines download raw bytes

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}from"./Icon-DGEqmQ7S.js";import{t as o}from"./createRuntimeFn-62c9670f.esm-DNlkAWtY.js";import{t as s}from"./sprinkles.css-0XGITrPe.js";import{r as c}from"./polished.esm-C0Q9xVAW.js";import{i as l}from"./Link-KxW5Rp-k.js";import{t as u}from"./dist-BzDfnIVz.js";import{t as d}from"./breakpoints-Cjs7VBSI.js";import{t as f}from"./useBreakpoint-BHbNWWWx.js";import{t as p}from"./module-CGeecTYP.js";import{n as m,r as h,t as ee}from"./dist-6eTYBv_e.js";var g=e(r(),1),_=e(t(),1);function v(e){let t=(0,g.c)(4),[n,r]=(0,_.useState)(void 0),i,a;t[0]===e?(i=t[1],a=t[2]):(i=()=>{if(!e.current)return;let t=e.current.getBoundingClientRect();r({height:t.height,left:t.left,scrollHeight:e.current.scrollHeight,scrollWidth:e.current.scrollWidth,width:t.width})},a=[e],t[0]=e,t[1]=i,t[2]=a),u(i,a);let o;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=e=>{let{contentBoxSize:t,target:n,contentRect:i}=e,{left:a}=i;r({height:t?.[0]?.blockSize??0,left:a,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,width:t?.[0]?.inlineSize??0})},t[3]=o):o=t[3],p(e,o),n}var y=`var(--ay5hhm0)`,b=`var(--ay5hhm1)`,te=`var(--ay5hhm2)`,ne=`ay5hhm4 ay5hhm3 et2cj01n mzcxbh54`,re=o({defaultClassName:`ay5hhma ay5hhm8 ay5hhm7 _11l7u9s2x`,variantClassNames:{relative:{false:`ay5hhmb ay5hhm9 h8s1m547 _11l7u9sc mzcxbhs mzcxbh56 _11l7u9sti`,true:`ay5hhmc`}},defaultVariants:{},compoundVariants:[]}),ie=o({defaultClassName:`ay5hhmg ay5hhme ay5hhmd _11l7u9s6 _11l7u9s2x _11l7u9slr _11l7u9sru`,variantClassNames:{relative:{false:`ay5hhmh ay5hhmf h8s1m547 _11l7u9sc mzcxbhs mzcxbh56 _11l7u9sti`}},defaultVariants:{},compoundVariants:[]}),x=e(r(),1),S=e(n(),1),C=(0,_.forwardRef)((e,t)=>{let n=(0,x.c)(50),r,o,u,p,g,C,w,T,E,D;n[0]===e?(r=n[1],o=n[2],u=n[3],p=n[4],g=n[5],C=n[6],w=n[7],T=n[8],E=n[9],D=n[10]):({className:o,children:r,maxHeight:w,tabletMaxHeight:T,desktopMaxHeight:E,fadeOut:D,closeIcon:u,openIcon:p,style:C,...g}=e,n[0]=e,n[1]=r,n[2]=o,n[3]=u,n[4]=p,n[5]=g,n[6]=C,n[7]=w,n[8]=T,n[9]=E,n[10]=D);let O=w===void 0?517:w,k=T===void 0?369:T,A=E===void 0?450:E,j=D===void 0?!0:D,[M,ae]=(0,_.useState)(!1),N=(0,_.useRef)(null),P=v(N),F=f(),I=F>=d.desktop?A:F>=d.tablet?k:O,L=!!P&&P.height<=I,R;n[11]===o?R=n[12]:(R=i(ne,o),n[11]=o,n[12]=R);let z=L||M,B=M?`unset`:`${A}px`,V=M?`unset`:`${O}px`,H=M?`unset`:`${k}px`,U;n[13]!==B||n[14]!==V||n[15]!==H?(U=c({[te]:B,[y]:V,[b]:H}),n[13]=B,n[14]=V,n[15]=H,n[16]=U):U=n[16];let W;n[17]!==C||n[18]!==U?(W={...U,...C},n[17]=C,n[18]=U,n[19]=W):W=n[19];let G;n[20]===r?G=n[21]:(G=(0,S.jsx)(ee,{ref:N,forceMount:!0,children:r}),n[20]=r,n[21]=G);let K;n[22]!==j||n[23]!==M?(K=j?re({relative:M}):ie({relative:M}),n[22]=j,n[23]=M,n[24]=K):K=n[24];let q;n[25]===L?q=n[26]:(q=L&&{hidden:!0},n[25]=L,n[26]=q);let J;n[27]!==j||n[28]!==M?(J=j&&(0,S.jsx)(`div`,{className:`ay5hhm6 ay5hhm5 mzcxbhs mzcxbh56 _11l7u9sti _11l7u9svo`,...M&&{hidden:!0}}),n[27]=j,n[28]=M,n[29]=J):J=n[29];let Y;n[30]===Symbol.for(`react.memo_cache_sentinel`)?(Y=l({variant:`underline`}),n[30]=Y):Y=n[30];let X;n[31]!==u||n[32]!==M||n[33]!==p?(X=M?u?(0,S.jsx)(a,{as:u,className:s({color:`fuchsia`})}):`Weniger lesen`:p?(0,S.jsx)(a,{as:p,className:s({color:`fuchsia`})}):`Mehr lesen`,n[31]=u,n[32]=M,n[33]=p,n[34]=X):X=n[34];let Z;n[35]===X?Z=n[36]:(Z=(0,S.jsx)(h,{className:Y,children:(0,S.jsx)(`div`,{children:X})}),n[35]=X,n[36]=Z);let Q;n[37]!==K||n[38]!==q||n[39]!==J||n[40]!==Z?(Q=(0,S.jsxs)(`div`,{className:K,...q,children:[J,Z]}),n[37]=K,n[38]=q,n[39]=J,n[40]=Z,n[41]=Q):Q=n[41];let $;return n[42]!==t||n[43]!==g||n[44]!==W||n[45]!==G||n[46]!==Q||n[47]!==R||n[48]!==z?($=(0,S.jsxs)(m,{className:R,open:z,style:W,onOpenChange:ae,...g,ref:t,children:[G,Q]}),n[42]=t,n[43]=g,n[44]=W,n[45]=G,n[46]=Q,n[47]=R,n[48]=z,n[49]=$):$=n[49],$});C.displayName=`MarcoPoloCollapsibleText`;export{C 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.