1import{q as j,u as s,A as C,T as U,h as R,x as G,g as w}from"./esnext-vendor.DQ9BNaJe.js";import{iF as A,aa as Q,aU as K,aK as X,aL as Y,av as Z,u as $,aM as ee,iE as te,jj as F,jk as ne,jl as T,eE as re,eF as oe,eD as ae,ck as h,cl as se,jm as ce,jn as ie,aS as le,jo as ue}from"./hydrate.D4A9Cb0p.js";import{kI as fe,bA as pe,S as de}from"./addresses-is-address-empty.BB1pvxM5.js";import"./app.B3Jiyyyv.js";var x={Content:"xhuvqpk xhuvqpj _1fragem108 _1fragem10n _1fragemzt _1fragem112 _1fragemup _1fragemv4 _1fragemws _1fragem131 _1fragem133",Popover:"xhuvqp1 xhuvqp0 _1fragemws _1fragemy5 _1fragem133",popoverConnectorVariant:{arrow:"xhuvqp5",none:"xhuvqp6"},popoverPlacementVariant:{blockStart:"xhuvqp7",blockStartSpanInlineEnd:"xhuvqp8",blockStartSpanInlineStart:"xhuvqp9",blockEnd:"xhuvqpa",blockEndSpanInlineEnd:"xhuvqpb",blockEndSpanInlineStart:"xhuvqpc",inlineStart:"xhuvqpd",inlineStartSpanBlockEnd:"xhuvqpe",inlineStartSpanBlockStart:"xhuvqpf",inlineEnd:"xhuvqpg",inlineEndSpanBlockEnd:"xhuvqph",inlineEndSpanBlockStart:"xhuvqpi"}};function ke(c){const r=A(),{active:u,setActive:i}=r||{},{onHide:f}=c,o=j(()=>{i?.(!1),typeof f=="function"&&f()},[i,f]);if(r){r.setActivatorAttributes({"aria-expanded":r.active,"aria-controls":c.id}),r.attach("onClick",()=>{u&&o(),i?.(!u)});const{children:d}=c;return s(O,{...c,onHide:o,open:u,children:Q(d)&&s(K,{children:d})})}return s(O,{...c})}const O=X(Y(function({blockSize:r="auto",children:u,connector:i,offset:f,id:o,inlineSize:d="auto",keepMounted:v=!1,maxBlockSize:y="none",maxInlineSize:L="none",minBlockSize:D="0",minInlineSize:V="0",onHide:S,onShow:b,padding:B="base",positionArea:q="block-start",open:t=!1}){const P=A(),{getInteraction:E}=Z(),_=C(t),N=C(t),l=C(null),{popover:{connector:H="arrow",cornerRadius:W}}=$(),I=i??H,{className:z,style:J}=ee({blockSize:r,inlineSize:d,padding:B,maxBlockSize:y,maxInlineSize:L,minBlockSize:D,minInlineSize:V}),n=U(()=>{if(P)return P.activatorRef.current??null;if(o){const a=E(o);if(te(a)&&a.invokerRef?.current)return a.invokerRef.current}return null},[E,o,P]),p=j(()=>{S?.()},[S]);return R(()=>{const a=e=>{const k=F(l.current),m=ne(e),g=T(n);e.target instanceof Node&&document.contains(e.target)&&!l.current?.contains(e.target)&&!n?.contains(e.target)&&(k||!m)&&(g||!T(e.target))&&t&&p()};return document.addEventListener("click",a),()=>{document.removeEventListener("click",a)}},[n,p,t]),R(()=>{const a=e=>{if(!t)return;const k=n&&re(n),m=l.current&&oe(l.current),g=l.current&&ae(l.current),M=F(l.current);switch(e.key){case"Escape":case"Esc":M&&(p(),n?.focus());break;case"Tab":{h(n)&&e.shiftKey?p():h(n)?(e.preventDefault(),m?.focus()):h(m)&&e.shiftKey?(e.preventDefault(),n?.focus(),p()):h(g)&&!e.shiftKey&&(e.preventDefault(),k?.focus(),p());break}}};return t&&document.addEventListener("keydown",a,!1),!_.current&&t&&b?.(),_.current=t,t&&(N.current=!0),()=>{document.removeEventListener("keydown",a,!1)}},[n,p,b,t]),!t&&!(v&&N.current)?null:s(se,{activator:n,offset:f??I==="arrow"?15:5,positionArea:q,preventOverflow:!0,id:o,hidden:!t,children:s(ve,{positionArea:q,connector:I,cornerRadius:W,popoverRef:l,responsiveClassNames:z,responsiveStyle:J,children:u})})},{overlayType:"popover"}),{focusActivatorWhenClosing:!0});function ve({children:c,positionArea:r,connector:u,cornerRadius:i,popoverRef:f,responsiveClassNames:o,responsiveStyle:d}){const v=G(ce),y=v?ie(v.position,v.alignment):fe(r);return s(K,{children:s("div",{className:w(x.Popover,x.popoverPlacementVariant[y],x.popoverConnectorVariant[u]),ref:f,style:{...i!=null&&{borderRadius:pe(i)}},children:s("div",{className:w(x.Content,o),style:d,children:s(le,{children:c})})})})}function ge(){return de(ue)}const me="p97qJ",Ce={RedirectionNotice:me};export{ke as P,Ce as s,ge as u};
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.