PageSourceSearch

https://herohero.co/assets/Vvx6H6DZ.js

js herohero.co collected 2026-09-24 15:25:56 UTC 2,565 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:`e2bba6101073785c6480ffad8979069e6f932abc`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`7f526e82-e5e8-449c-b465-1c59e1d3a3bc`,e._sentryDebugIdIdentifier=`sentry-dbid-7f526e82-e5e8-449c-b465-1c59e1d3a3bc`)}catch{}})();import{B as e,F as t,I as n,Kt as r,M as i,N as a,O as o,P as s,St as c,U as l,Ut as u,V as d,Yt as f,at as p,ct as m,st as h}from"./DA72t4i4.js";import{t as g}from"./xD2piY-j.js";import{i as _,n as v,r as y,t as b}from"./zhkDDRY0.js";var x=l({__name:`TabView`,props:{options:{},selectedItem:{},variant:{default:`default`},fillHeight:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},spread:{type:Boolean,default:!1},underlineGap:{default:`default`}},emits:[`change`],setup(l,{emit:x}){let S=x;function C(e){let t=l.options[e];t&&S(`change`,t)}let w=i(()=>l.options.findIndex(e=>e.id===l.selectedItem.id));return(i,x)=>(p(),s(u(v),{as:`div`,"selected-index":w.value,onChange:C},{default:c(()=>[d(u(y),{class:r([`flex`,l.variant===`underline`?[`items-center`,l.underlineGap===`wide`?`gap-x-24px`:`gap-x-16px`]:``,l.spread&&`max-sm:w-full max-sm:justify-between`,l.fillHeight&&`h-full`,l.scrollable&&`overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`])},{default:c(()=>[(p(!0),n(o,null,h(l.options,n=>(p(),s(u(_),{key:n.id,"data-testid":n.testId,class:r([`relative cursor-pointer appearance-none border-none bg-transparent outline-none focus-visible:rounded-md`,l.variant==="default"?`flex-1 rounded`:`p-0`,l.spread&&`max-sm:flex-none max-sm:px-0`,l.scrollable&&(l.variant==="default"?`min-w-max`:`shrink-0`),l.fillHeight&&`h-full flex items-center`])},{default:c(({selected:i})=>[a(`div`,{class:r([i?`text-dark dark:text-white`:`text-gray dark:text-slate`,`flex items-center gap-x-8px py-12px text-14px font-bold leading-none`,l.variant==="default"&&`justify-center`])},[a(`span`,{class:r([`tab-label`,l.scrollable&&`whitespace-nowrap`])},f(n.label),3),n.badge?(p(),s(g,{key:0,size:`xs`},{default:c(()=>[e(f(n.badge),1)]),_:2},1024)):t(``,!0)],2),a(`div`,{class:r([{"opacity-100":i},`absolute h-3px rounded-full bg-purple opacity-0 w-16px`,l.variant===`underline`?`left-0`:`left-1/2 -translate-x-1/2 -bottom-px`,l.fillHeight&&`bottom-0`])},null,2)]),_:2},1032,[`data-testid`,`class`]))),128))]),_:1},8,[`class`]),d(u(b),null,{default:c(()=>[m(i.$slots,`panels`)]),_:3})]),_:3},8,[`selected-index`]))}});export{x 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.