PageSourceSearch

https://gpx.studio/_app/immutable/chunks/CvAhM8u-.js

js gpx.studio collected 2026-10-02 02:36:12 UTC 14,236 bytes, 1 lines download raw bytes

1var $t=Object.defineProperty;var Bt=o=>{throw TypeError(o)};var te=(o,t,e)=>t in o?$t(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var v=(o,t,e)=>te(o,typeof t!="symbol"?t+"":t,e),Ft=(o,t,e)=>t.has(o)||Bt("Cannot "+e);var r=(o,t,e)=>(Ft(o,t,"read from private field"),e?e.call(o):t.get(o)),l=(o,t,e)=>t.has(o)?Bt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),x=(o,t,e,n)=>(Ft(o,t,"write to private field"),n?n.call(o,e):t.set(o,e),e),p=(o,t,e)=>(Ft(o,t,"access private method"),e);import{p as jt,c as _,a as u,f as Wt}from"./prMQfd4z.js";import{$ as k,o as b,l as s,v as O,p as L,f as D,a as Q,c as ot,n as Pt,r as rt}from"./DcC8UNfy.js";import{c as bt}from"./DwlcUePz.js";import{p as i,i as yt,s as G,r as U}from"./12jmtE24.js";import{s as B}from"./DYrjvdcV.js";import{i as ee,P as qt,a as oe,b as re,g as Gt,F as ne,c as se,d as ie}from"./D_Y93Ffm.js";import{C as ae,c as Jt,w as Lt,F as wt,r as le,S as ce,G as Qt,v as he,i as It,I as pe,b as d,e as ue,f as Ut,y as j,m as Ct}from"./BTvOf65R.js";import{a as nt,b as Xt}from"./NCOlMxt1.js";import{S as de}from"./BYQ0C2xl.js";import{D as fe}from"./aoCwwNHc.js";const xt=ue({component:"popover",parts:["root","trigger","content","close","overlay"]}),Rt=new ae("Popover.Root");var st,it,at,lt,ct,ht,pt,S,V,F,E;const Kt=class Kt{constructor(t){l(this,F);v(this,"opts");l(this,st,k(null));v(this,"contentPresence");l(this,it,k(null));l(this,at,k(null));v(this,"overlayPresence");l(this,lt,k(!1));l(this,ct,k(!1));l(this,ht,k(!1));l(this,pt,k(0));l(this,S,null);l(this,V,null);this.opts=t,this.contentPresence=new qt({ref:d(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new qt({ref:d(()=>this.overlayNode),open:this.opts.open}),Lt(()=>this.opts.open.current,e=>{e||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,p(this,F,E).call(this))})}static create(t){return Rt.set(new Kt(t))}get contentNode(){return s(r(this,st))}set contentNode(t){b(r(this,st),t,!0)}get triggerNode(){return s(r(this,it))}set triggerNode(t){b(r(this,it),t,!0)}get overlayNode(){return s(r(this,at))}set overlayNode(t){b(r(this,at),t,!0)}get openedViaHover(){return s(r(this,lt))}set openedViaHover(t){b(r(this,lt),t,!0)}get hasInteractedWithContent(){return s(r(this,ct))}set hasInteractedWithContent(t){b(r(this,ct),t,!0)}get hoverCooldown(){return s(r(this,ht))}set hoverCooldown(t){b(r(this,ht),t,!0)}get closeDelay(){return s(r(this,pt))}set closeDelay(t){b(r(this,pt),t,!0)}setDomContext(t){x(this,V,t)}toggleOpen(){p(this,F,E).call(this),this.opts.open.current=!this.opts.open.current}handleClose(){p(this,F,E).call(this),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){p(this,F,E).call(this),!this.opts.open.current&&(this.openedViaHover=!0,this.opts.open.current=!0)}handleHoverClose(){this.opts.open.current&&this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1)}handleDelayedHoverClose(){this.opts.open.current&&(!this.openedViaHover||this.hasInteractedWithContent||(p(this,F,E).call(this),this.closeDelay<=0?this.opts.open.current=!1:r(this,V)&&x(this,S,r(this,V).setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),x(this,S,null)},this.closeDelay))))}cancelDelayedClose(){p(this,F,E).call(this)}markInteraction(){this.hasInteractedWithContent=!0,p(this,F,E).call(this)}};st=new WeakMap,it=new WeakMap,at=new WeakMap,lt=new WeakMap,ct=new WeakMap,ht=new WeakMap,pt=new WeakMap,S=new WeakMap,V=new WeakMap,F=new WeakSet,E=function(){r(this,S)!==null&&r(this,V)&&(r(this,V).clearTimeout(r(this,S)),x(this,S,null))};let Nt=Kt;var W,J,q,y,kt,Et,St,Yt,ut;const Mt=class Mt{constructor(t,e){l(this,y);v(this,"opts");v(this,"root");v(this,"attachment");v(this,"domContext");l(this,W,null);l(this,J,null);l(this,q,k(!1));l(this,ut,O(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":he(this.root.opts.open.current),"data-state":Qt(this.root.opts.open.current),"aria-controls":p(this,y,Yt).call(this),[xt.trigger]:"",disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment})));this.opts=t,this.root=e,this.attachment=Jt(this.opts.ref,n=>this.root.triggerNode=n),this.domContext=new fe(t.ref),this.root.setDomContext(this.domContext),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this),this.onpointerenter
1=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),Lt(()=>this.opts.closeDelay.current,n=>{this.root.closeDelay=n})}static create(t){return new Mt(t,Rt.get())}onpointerenter(t){if(this.opts.disabled.current||!this.opts.openOnHover.current||wt(t)||(b(r(this,q),!0),p(this,y,Et).call(this),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown))return;const e=this.opts.openDelay.current;e<=0?this.root.handleHoverOpen():x(this,W,this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),x(this,W,null)},e))}onpointerleave(t){this.opts.disabled.current||this.opts.openOnHover.current&&(wt(t)||(b(r(this,q),!1),p(this,y,kt).call(this),this.root.hoverCooldown=!1))}onclick(t){if(!this.opts.disabled.current&&t.button===0){if(p(this,y,St).call(this),s(r(this,q))&&this.root.opts.open.current&&this.root.openedViaHover){this.root.openedViaHover=!1,this.root.hasInteractedWithContent=!0;return}s(r(this,q))&&this.opts.openOnHover.current&&this.root.opts.open.current&&(this.root.hoverCooldown=!0),this.root.hoverCooldown&&!this.root.opts.open.current&&(this.root.hoverCooldown=!1),this.root.toggleOpen()}}onkeydown(t){this.opts.disabled.current||(t.key===le||t.key===ce)&&(t.preventDefault(),p(this,y,St).call(this),this.root.toggleOpen())}get props(){return s(r(this,ut))}set props(t){b(r(this,ut),t)}};W=new WeakMap,J=new WeakMap,q=new WeakMap,y=new WeakSet,kt=function(){r(this,W)!==null&&(this.domContext.clearTimeout(r(this,W)),x(this,W,null))},Et=function(){r(this,J)!==null&&(this.domContext.clearTimeout(r(this,J)),x(this,J,null))},St=function(){p(this,y,kt).call(this),p(this,y,Et).call(this)},Yt=function(){var t,e;if(this.root.opts.open.current&&((t=this.root.contentNode)!=null&&t.id))return(e=this.root.contentNode)==null?void 0:e.id},ut=new WeakMap;let Tt=Mt;var dt,ft;const zt=class zt{constructor(t,e){v(this,"opts");v(this,"root");v(this,"attachment");v(this,"onInteractOutside",t=>{if(this.opts.onInteractOutside.current(t),t.defaultPrevented||!It(t.target))return;const e=t.target.closest(xt.selector("trigger"));if(!(e&&e===this.root.triggerNode)){if(this.opts.customAnchor.current){if(It(this.opts.customAnchor.current)){if(this.opts.customAnchor.current.contains(t.target))return}else if(typeof this.opts.customAnchor.current=="string"){const n=document.querySelector(this.opts.customAnchor.current);if(n&&n.contains(t.target))return}}this.root.handleClose()}});v(this,"onEscapeKeydown",t=>{this.opts.onEscapeKeydown.current(t),!t.defaultPrevented&&this.root.handleClose()});l(this,dt,O(()=>({open:this.root.opts.open.current})));l(this,ft,O(()=>({id:this.opts.id.current,tabindex:-1,"data-state":Qt(this.root.opts.open.current),...pe(this.root.contentPresence.transitionStatus),[xt.content]:"",style:{pointerEvents:"auto",contain:"layout style"},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment})));v(this,"popperProps",{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown});this.opts=t,this.root=e,this.attachment=Jt(this.opts.ref,n=>this.root.contentNode=n),this.onpointerdown=this.onpointerdown.bind(this),this.onfocusin=this.onfocusin.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),new de({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&this.root.openedViaHover&&!this.root.hasInteractedWithContent,onPointerExit:()=>{this.root.handleDelayedHoverClose()}})}static create(t){return new zt(t,Rt.get())}onpointerdown(t){this.root.markInteraction()}onfocusin(t){const e=t.target;It(e)&&ee(e)&&this.root.markInteraction()}onpointerenter(t){wt(t)||this.root.cancelDelayedClose()}onpointerleave(t){wt(t)}get shouldRender(){return this.root.contentPresence.shouldRender}get shouldTrapFocus(){return!(this.root.openedViaHover&&!this.root.hasInteractedWithContent)}get snippetProps(){return s(r(this,dt))}set snippetProps(t){b(r(this,dt),t)}get props(){return s(r(this,ft))}set props(t){b(r(this,ft),t)}};dt=new WeakMap,ft=new WeakMap;let Vt=zt;var ve=Wt("<div><div><!></div></div>"),ge=Wt("<div><div><!></div></div>");function me(o,t){const e=jt();L(t,!0);let n=i(t,"ref",15,null),a=i(t,"id",19,()=>Ut(e)),c=i(t,"forceMount",3,!1),C=i(t,"onOpenAutoFocus",3,j),P=i(t,"onCloseAutoFocus",3,j),w=i(t,"onEscapeKey
1down",3,j),R=i(t,"onInteractOutside",3,j),X=i(t,"trapFocus",3,!0),K=i(t,"preventScroll",3,!1),N=i(t,"customAnchor",3,null),M=U(t,["$$slots","$$events","$$legacy","child","children","ref","id","forceMount","onOpenAutoFocus","onCloseAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","customAnchor","style"]);const f=Vt.create({id:d(()=>a()),ref:d(()=>n(),A=>n(A)),onInteractOutside:d(()=>R()),onEscapeKeydown:d(()=>w()),customAnchor:d(()=>N())}),Y=O(()=>Ct(M,f.props)),vt=O(()=>X()&&f.shouldTrapFocus);function gt(A){f.shouldTrapFocus||A.preventDefault(),C()(A)}var mt=_(),T=D(mt);{var I=A=>{oe(A,G(()=>s(Y),()=>f.popperProps,{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},get id(){return a()},get trapFocus(){return s(vt)},get preventScroll(){return K()},loop:!0,forceMount:!0,get customAnchor(){return N()},onOpenAutoFocus:gt,get onCloseAutoFocus(){return P()},get shouldRender(){return f.shouldRender},popper:(Ot,g)=>{let _t=()=>g==null?void 0:g().props,$=()=>g==null?void 0:g().wrapperProps;const tt=O(()=>Ct(_t(),{style:Gt("popover")},{style:t.style}));var et=_(),Dt=D(et);{var At=m=>{var h=_(),H=D(h);{let z=O(()=>({props:s(tt),wrapperProps:$(),...f.snippetProps}));B(H,()=>t.child,()=>s(z))}u(m,h)},Ht=m=>{var h=ve();nt(h,()=>({...$()}));var H=ot(h);nt(H,()=>({...s(tt)}));var z=ot(H);B(z,()=>t.children??Pt),rt(H),rt(h),u(m,h)};yt(Dt,m=>{t.child?m(At):m(Ht,-1)})}u(Ot,et)},$$slots:{popper:!0}}))},Z=A=>{re(A,G(()=>s(Y),()=>f.popperProps,{get ref(){return f.opts.ref},get open(){return f.root.opts.open.current},get id(){return a()},get trapFocus(){return s(vt)},get preventScroll(){return K()},loop:!0,forceMount:!1,get customAnchor(){return N()},onOpenAutoFocus:gt,get onCloseAutoFocus(){return P()},get shouldRender(){return f.shouldRender},popper:(Ot,g)=>{let _t=()=>g==null?void 0:g().props,$=()=>g==null?void 0:g().wrapperProps;const tt=O(()=>Ct(_t(),{style:Gt("popover")},{style:t.style}));var et=_(),Dt=D(et);{var At=m=>{var h=_(),H=D(h);{let z=O(()=>({props:s(tt),wrapperProps:$(),...f.snippetProps}));B(H,()=>t.child,()=>s(z))}u(m,h)},Ht=m=>{var h=ge();nt(h,()=>({...$()}));var H=ot(h);nt(H,()=>({...s(tt)}));var z=ot(H);B(z,()=>t.children??Pt),rt(H),rt(h),u(m,h)};yt(Dt,m=>{t.child?m(At):m(Ht,-1)})}u(Ot,et)},$$slots:{popper:!0}}))};yt(T,A=>{c()?A(I):c()||A(Z,1)})}u(o,mt),Q()}var ye=Wt("<button><!></button>");function Ce(o,t){const e=jt();L(t,!0);let n=i(t,"id",19,()=>Ut(e)),a=i(t,"ref",15,null),c=i(t,"type",3,"button"),C=i(t,"disabled",3,!1),P=i(t,"openOnHover",3,!1),w=i(t,"openDelay",3,700),R=i(t,"closeDelay",3,300),X=U(t,["$$slots","$$events","$$legacy","children","child","id","ref","type","disabled","openOnHover","openDelay","closeDelay"]);const K=Tt.create({id:d(()=>n()),ref:d(()=>a(),M=>a(M)),disabled:d(()=>!!C()),openOnHover:d(()=>P()),openDelay:d(()=>w()),closeDelay:d(()=>R())}),N=O(()=>Ct(X,K.props,{type:c()}));ne(o,{get id(){return n()},get ref(){return K.opts.ref},children:(M,f)=>{var Y=_(),vt=D(Y);{var gt=T=>{var I=_(),Z=D(I);B(Z,()=>t.child,()=>({props:s(N)})),u(T,I)},mt=T=>{var I=ye();nt(I,()=>({...s(N)}));var Z=ot(I);B(Z,()=>t.children??Pt),rt(I),u(T,I)};yt(vt,T=>{t.child?T(gt):T(mt,-1)})}u(M,Y)},$$slots:{default:!0}}),Q()}function Pe(o,t){L(t,!0);let e=i(t,"open",15,!1),n=i(t,"onOpenChange",3,j),a=i(t,"onOpenChangeComplete",3,j);Nt.create({open:d(()=>e(),c=>{e(c),n()(c)}),onOpenChangeComplete:d(()=>a())}),se(o,{children:(c,C)=>{var P=_(),w=D(P);B(w,()=>t.children??Pt),u(c,P)},$$slots:{default:!0}}),Q()}function ke(o,t){L(t,!0);let e=i(t,"open",15,!1),n=U(t,["$$slots","$$events","$$legacy","open"]);var a=_(),c=D(a);bt(c,()=>Pe,(C,P)=>{P(C,G(()=>n,{get open(){return e()},set open(w){e(w)}}))}),u(o,a),Q()}function we(o,t){let e=U(t,["$$slots","$$events","$$legacy"]);var n=_(),a=D(n);bt(a,()=>ie,(c,C)=>{C(c,G(()=>e))}),u(o,n)}function Ee(o,t){L(t,!0);let e=i(t,"ref",15,null),n=i(t,"sideOffset",3,4),a=i(t,"align",3,"center"),c=U(t,["$$slots","$$events","$$legacy","ref","class","sideOffset","align","portalProps"]);we(o,G(()=>t.portalProps,{children:(C,P)=>{var w=_(),R=D(w);{let X=O(()=>Xt("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 flex flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100 data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2 z-50 w-72 origin-(--transform-origin) outline-hidden",t.class));bt(R,()=>me,(K,N)=>{N(K,G({"data-slot":"popover-content",get sideOffset(){return n()},get align(){return a()},get class(){return s(X)}},()=>c,{get ref(){return e()},set ref(M){e(M)}}))})}u(C,w)},$$slots:{default:!0}})),Q()}function Se(o,t){L(t,!0);let e=i(t,"ref",15,null),n=U(t,["$$slots","$$events","$$legacy","ref","class"]);var a=_(),c=D(a);{let C=O(()=>Xt("",t.class));bt(c,()=>Ce,(P,w)=>{w(P,G({"data-slot":"popover-trigger",get class(){return s(C)}},()=>n,{get ref(){return e()},set ref(R){e(R)}}))})}u(o,a),Q()}export{Se as P,Ee as a,ke as b};

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.