PageSourceSearch

https://whop.com/_web/assets/gha-36830342614-1/link-DQ79ieAZ.js

js whop.com collected 2026-10-01 08:49:40 UTC 4,895 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8f02e0d0-c913-50c6-af66-90beb5938673")}catch(e){}}();
3import{o as e}from"./rolldown-runtime-CMxvf4Kt.js";import{d as t,l as n,o as r,t as i}from"./useStore-CfljSXIX.js";import{o as a,r as o}from"./path-BlwXDaoD.js";import{Ca as s,ba as c,wa as l}from"./frosted-ui-C-IlupeO.js";import{n as ee,r as u}from"./utils-Drawr8VX.js";import{n as te}from"./ClientOnly-CkRLzvw-.js";import{t as ne}from"./useRouter-CXQWTBlB.js";var re=`Error preloading route! ☝️`,d=e(l(),1);s();var ie=e(c(),1);function f(e,s){let c=ne(),l=ee(s),{activeProps:f,inactiveProps:_,activeOptions:v,to:y,preload:fe,preloadDelay:pe,preloadIntentProximity:me,hashScrollIntoView:b,replace:he,startTransition:ge,resetScroll:_e,viewTransition:ve,children:x,target:S,disabled:C,style:w,className:T,onClick:E,onBlur:D,onFocus:O,onMouseEnter:k,onMouseLeave:A,onTouchStart:j,ignoreBlocker:M,params:ye,search:be,hash:xe,state:Se,mask:Ce,reloadDocument:we,unsafeRelative:Te,from:Ee,_fromLocation:De,...N}=e,P=te(),F=d.useMemo(()=>e,[c,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),I=i(c.stores.location,e=>e,(e,t)=>e.href===t.href),L=d.useMemo(()=>{let e={_fromLocation:I,...F};return c.buildLocation(e)},[c,I,F]),R=L.maskedLocation?L.maskedLocation.publicHref:L.publicHref,z=L.maskedLocation?L.maskedLocation.external:L.external,B=d.useMemo(()=>le(R,z,c.history,C),[C,z,R,c.history]),V=d.useMemo(()=>{if(B?.external)return t(B.href,c.protocolAllowlist)?void 0:B.href;if(!ue(y)&&!(typeof y!=`string`||y.indexOf(`:`)===-1))try{return new URL(y),t(y,c.protocolAllowlist)?void 0:y}catch{}},[y,B,c.protocolAllowlist]),H=d.useMemo(()=>{if(V)return!1;if(v?.exact){if(!o(I.pathname,L.pathname,c.basepath))return!1}else{let e=a(I.pathname,c.basepath),t=a(L.pathname,c.basepath);if(!(e.startsWith(t)&&(e.length===t.length||e[t.length]===`/`)))return!1}return(v?.includeSearch??!0)&&!r(I.search,L.search,{partial:!v?.exact,ignoreUndefined:!v?.explicitUndefined})?!1:v?.includeHash?P&&I.hash===L.hash:!0},[v?.exact,v?.explicitUndefined,v?.includeHash,v?.includeSearch,I,V,P,L.hash,L.pathname,L.search,c.basepath]),U=H?n(f,{})??ae:p,W=H?p:n(_,{})??p,G=[T,U.className,W.className].filter(Boolean).join(` `),K=(w||U.style||W.style)&&{...w,...U.style,...W.style},[Oe,q]=d.useState(!1),J=d.useRef(!1),Y=e.reloadDocument||V?!1:fe??c.options.defaultPreload,X=pe??c.options.defaultPreloadDelay??0,Z=d.useCallback(()=>{c.preloadRoute({...F,_builtLocation:L}).catch(e=>{console.warn(e),console.warn(re)})},[c,F,L]);u(l,d.useCallback(e=>{e?.isIntersecting&&Z()},[Z]),h,{disabled:!!C||Y!==`viewport`}),d.useEffect(()=>{J.current||!C&&Y===`render`&&(Z(),J.current=!0)},[C,Z,Y]);let ke=e=>{let t=e.currentTarget.getAttribute(`target`),n=S===void 0?t:S;if(!C&&!de(e)&&!e.defaultPrevented&&(!n||n===`_self`)&&e.button===0){e.preventDefault(),(0,ie.flushSync)(()=>{q(!0)});let t=c.subscribe(`onResolved`,()=>{t(),q(!1)});c.navigate({...F,replace:he,resetScroll:_e,hashScrollIntoView:b,startTransition:ge,viewTransition:ve,ignoreBlocker:M})}};if(V)return{...N,ref:l,href:V,...x&&{children:x},...S&&{target:S},...C&&{disabled:C},...w&&{style:w},...T&&{className:T},...E&&{onClick:E},...D&&{onBlur:D},...O&&{onFocus:O},...k&&{onMouseEnter:k},...A&&{onMouseLeave:A},...j&&{onTouchStart:j}};let Q=e=>{if(C||Y!==`intent`)return;if(!X){Z();return}let t=e.currentTarget;if(m.has(t))return;let n=setTimeout(()=>{m.delete(t),Z()},X);m.set(t,n)},Ae=e=>{C||Y!==`intent`||Z()},$=e=>{if(C||!Y||!X)return;let t=e.currentTarget,n=m.get(t);n&&(clearTimeout(n),m.delete(t))};return{...N,...U,...W,href:B?.href,ref:l,onClick:g([E,ke]),onBlur:g([D,$]),onFocus:g([O,Q]),onMouseEnter:g([k,Q]),onMouseLeave:g([A,$]),onTouchStart:g([j,Ae]),disabled:!!C,target:S,...K&&{style:K},...G&&{className:G},...C&&oe,...H&&se,...P&&Oe&&ce}}var p={},ae={className:`active`},oe={role:`link`,"aria-disabled":!0},se={"data-status":`active`,"aria-current":`page`},ce={"data-transitioning":`transitioning`},m=new WeakMap,h={rootMargin:`100px`},g=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}};function le(e,t,n,r){if(!r)return t?{href:e,external:!0}:{href:n.createHref(e)||`/`,external:!1}}function ue(e){if(typeof e!=`string`)return!1;let t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var _=d.forwardRef((e,t)=>
3{let{_asChild:n,...r}=e,{type:i,...a}=f(r,t),o=typeof r.children==`function`?r.children({isActive:a[`data-status`]===`active`}):r.children;if(!n){let{disabled:e,...t}=a;return d.createElement(`a`,t,o)}return d.createElement(n,a,o)});function de(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}export{_ as t};
4//# debugId=8f02e0d0-c913-50c6-af66-90beb5938673

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.