1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17759],{7780:(e,t,r)=>{r.d(t,{I:()=>s});var n=r(12115);function s(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches);let r=e=>t(e.matches);return e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[]),e}},17759:(e,t,r)=>{r.d(t,{u:()=>f});var n=r(95155),s=r(12115),a=r(41075),o=r(26497),i=r(93739),l=r(18210),d=r(18955),c=r(26333),u=r(38218),h=r(7780);let p={type:"spring",stiffness:380,damping:32},x={duration:0};function f(e){let{open:t,onOpenChange:r,title:f,trigger:m,children:v,footer:g,contentClassName:b=""}=e,y=(0,d.c)("ui.selectSheet"),j=(0,u.a)(),w=(0,h.I)(),E=(0,s.useRef)(null),C=e=>{let t=setTimeout(()=>{let e=E.current;if(!e)return;let t=e.querySelector('input:not([type="hidden"]):not([disabled])');null==t||t.focus({preventScroll:!0})},e);return()=>clearTimeout(t)},L=(0,l.LF)({onClose:()=>r(!1)}),P=function(e){let[t,r]=(0,s.useState)(0);return(0,s.useEffect)(()=>{if(!e)return;let t=window.visualViewport;if(!t)return;let n=()=>{let e=window.innerHeight-t.height-t.offsetTop;r(e>80?e:0)};return n(),t.addEventListener("resize",n),t.addEventListener("scroll",n),()=>{t.removeEventListener("resize",n),t.removeEventListener("scroll",n),r(0)}},[e]),t}(j&&t);if((0,s.useEffect)(()=>{j&&t&&L.reset()},[j,t,L]),!j)return(0,n.jsxs)(c.AM,{open:t,onOpenChange:r,children:[(0,n.jsx)(c.Wv,{asChild:!0,children:m}),(0,n.jsx)(c.hl,{align:"start",collisionPadding:12,"aria-label":f,className:"p-0 w-[var(--radix-popover-trigger-width)] min-w-[240px] max-w-[calc(100vw-2rem)] bg-surface-overlay text-content-primary rounded-lg border border-surface-border shadow-lg ".concat(b),onOpenAutoFocus:e=>{e.preventDefault(),C(0)},children:(0,n.jsxs)("div",{ref:E,children:[v,g&&(0,n.jsx)("div",{className:"border-t border-surface-border p-2",children:g})]})})]});let N=s.cloneElement(m,{onClick:e=>{var t,n;null==(t=(n=m.props).onClick)||t.call(n,e),e.defaultPrevented||r(!0)}});return(0,n.jsxs)(a.bL,{open:t,onOpenChange:r,children:[N,(0,n.jsx)(o.N,{children:t&&(0,n.jsxs)(a.ZL,{forceMount:!0,children:[(0,n.jsx)(a.hJ,{asChild:!0,forceMount:!0,children:(0,n.jsx)(i.P.div,{className:"fixed inset-0 z-40 bg-scrim-strong backdrop-blur-[2px]",style:{opacity:L.scrimOpacity},initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:w?x:{duration:.2}})}),(0,n.jsx)(a.UC,{asChild:!0,forceMount:!0,"aria-describedby":void 0,onOpenAutoFocus:e=>{e.preventDefault(),C(320*!w)},children:(0,n.jsxs)(i.P.div,{className:"fixed left-0 right-0 z-50 flex flex-col bg-surface-overlay border-t border-surface-border rounded-t-[24px] overscroll-none","data-sp-selectsheet":!0,style:{bottom:P?"".concat(P,"px"):"calc(var(--sp-nav-height, 56px) + env(safe-area-inset-bottom, 0px))",boxShadow:"0 -16px 48px rgba(0,0,0,0.6), 0 -4px 16px rgba(56,189,248,0.05)",maxHeight:"min(75vh, 75dvh)",...L.sheetProps.style},initial:{y:w?0:"100%"},animate:{y:0},exit:{y:w?0:"100%"},transition:w?x:p,drag:L.sheetProps.drag,dragListener:L.sheetProps.dragListener,dragControls:L.sheetProps.dragControls,dragConstraints:L.sheetProps.dragConstraints,dragElastic:L.sheetProps.dragElastic,onDragEnd:L.sheetProps.onDragEnd,children:[(0,n.jsx)("div",{...L.handleProps,className:"flex justify-center pt-3 pb-1 shrink-0 cursor-grab active:cursor-grabbing",children:(0,n.jsx)("div",{className:"w-12 h-1.5 rounded-full bg-content-muted/40"})}),(0,n.jsxs)("div",{className:"flex items-center justify-between px-5 pt-1 pb-3 shrink-0",children:[(0,n.jsx)(a.hE,{asChild:!0,children:(0,n.jsx)("span",{className:"text-base font-bold text-content-primary",children:f})}),(0,n.jsx)(a.bm,{asChild:!0,children:(0,n.jsx)("button",{type:"button",className:"text-sm text-content-muted hover:text-content-secondary px-3 py-1.5 -mr-3 rounded-lg transition-colors min-h-[44px] flex items-center",children:y("close")})})]}),(0,n.jsx)("div",{ref:E,className:"flex-1 min-h-0 overflow-hidden px-2",children:v}),g&&(0,n.jsx)("div",{className:"shrink-0 border-t border-surface-border px-4 pt-3",style:{paddingBottom:"calc(0.75rem + env(safe-area-inset-bottom, 0px))"},children:g})]})})]})})]})}},18210:(e,t,r)=>{r.d(t,{LF:()=>l});var n=r(12115),s=r(41407),a=r(38541),o=r(53350),i=r(99770);function l(e){let{onClose:t}=e,r=(0,s.I)(),l=(0,a.m)(),d=(0,o.d)(0),c=(0,i.G)(d,[0,240],[1,0]),u=(0,n.useCallback)((e,r)=>{var n,s;n=r.offset.y,!((s=r.velocity.y)<-400)&&(n>120||s>400)&&t()},[t]),h=(0,n.useCallback)(()=>d.set(0),[d]);return{scrimOpacity:c,sheetProps:{style:{y:d},drag:"y",dragListener:!1,dragControls:l,dragConstraints:{top:0,bottom:0},dragElastic:{top:0,bottom:.6},onDragEnd:u},handleProps:{onPointerDown:e=>l.start(e),style:{touchAction:"none"}},reduce:!!r,reset:h}}},38218:(e,t,r)=>{r.d(t,{a:()=>s});var n=r(12115);function s(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=window.matchMedia("(max-width: 639px)"),r=()=>t(e.matches);return r(),e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[]),e}}}]);
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.