1import{j as o}from"./jsx-runtime-gV1wv1qP.js";import{u as h}from"./client-XKy-kgNj.js";import{c as w}from"./index-DsWCR0wz.js";import{A as x}from"./index-CjaZquaH.js";import{m as u}from"./proxy-xoOj-uij.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(a){for(var n=1;n<arguments.length;n++){var s=arguments[n];if(s!=null)for(var r in s)s.hasOwnProperty(r)&&(a[r]=s[r])}return a})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:portal-frontend-ssr":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="381798fd-53ac-4f77-a4a5-e074b563cfe9",e._sentryDebugIdIdentifier="sentry-dbid-381798fd-53ac-4f77-a4a5-e074b563cfe9")}catch{}})();function d({image:e,width:t,height:a,fit:n,crop:s}){let r=h(e).width(t);return a&&(r=r.height(a)),n&&(r=r.fit(n)),s&&(r=r.crop(s)),r.auto("format").url()}function N({widths:e,alt:t,image:a,sizes:n,height:s,fit:r,crop:l,className:f,...g}){if(!a)return null;const i=Math.max(...e),m=d({image:a,width:i,height:s,fit:r}),p=e.map(c=>`${d({image:a,width:c,height:s,fit:r,crop:l})} ${c}w`),b=`${d({image:a,width:i*2,height:s&&s*2,fit:r,crop:l})} ${i*2}w`,y=`${d({image:a,width:i*3,height:s&&s*3,fit:r,crop:l})} ${i*3}w`,v=[...p,b,y].join(", ");return o.jsx("img",{className:f,sizes:n,srcSet:v,src:m,alt:t||a?.altText||"",...g})}const C=({carouselItemDurationMs:e,currentIndex:t,totalItems:a,onSelect:n})=>o.jsx("div",{className:"redesign:gap-3 flex gap-1 @min-xl:gap-2",children:Array.from({length:a}).map((s,r)=>{const l=r===t;return o.jsxs("button",{className:"redesign:size-6 relative select-none disabled:cursor-default max-md:size-3 md:size-5",disabled:r===t,onClick:()=>n(r),children:[o.jsx(x,{children:l&&o.jsx(u.div,{className:"redesign:max-md:block absolute top-1/2 left-1/2 size-full -translate-x-1/2 -translate-y-1/2 rounded-full max-md:hidden",initial:{width:0,height:0},animate:{width:"100%",height:"100%"},exit:{width:0,height:0},children:o.jsx(u.div,{className:"bg-foreground-100 redesign:max-md:block redesign:[--carousel-progress:#80828B] redesign:[--carousel-track:#CCCDD1] redesign-dark:[--carousel-track:#333846] size-full rounded-full p-0.5 [--carousel-progress:white] [--carousel-track:#41303B] max-md:hidden",initial:{"--progress":0},animate:{"--progress":100},transition:{duration:e/1e3},style:{background:"conic-gradient(var(--carousel-progress) 0%, var(--carousel-progress) calc(var(--progress) * 1%), var(--carousel-track) calc(var(--progress) * 1%), var(--carousel-track) 100%)"},children:o.jsx("div",{className:"bg-background-100 flex size-full items-center justify-center rounded-full"})})})}),o.jsx("div",{className:w("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full transition-all",{"bg-background-80 redesign:bg-[#80828B] redesign:size-3 size-2 md:size-3":r!==t,"bg-foreground-100 size-2":r===t})},r)]},r)})});export{C,N as R};
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.