1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40232],{48954:(e,t,n)=>{n.d(t,{x:()=>d});var l=n(7620);let r="(min-width: 768px)",o="(min-width: 1024px)";function i(e){let t=window.matchMedia(r),n=window.matchMedia(o);return t.addEventListener("change",e),n.addEventListener("change",e),()=>{t.removeEventListener("change",e),n.removeEventListener("change",e)}}let s={isMobile:!1,isTablet:!1,isDesktop:!0};function a(){return s}let c=s;function u(){let e=function(){let e=window.matchMedia(r).matches,t=window.matchMedia(o).matches;return{isMobile:!e,isTablet:e&&!t,isDesktop:t}}();return(c.isMobile!==e.isMobile||c.isTablet!==e.isTablet||c.isDesktop!==e.isDesktop)&&(c=e),c}function d(){return(0,l.useSyncExternalStore)(i,u,a)}},55819:(e,t,n)=>{n.d(t,{X:()=>h});var l=n(54568),r=n(72902),o=n(7620),i=n(97509),s=n(6157),a=n(83963),c=n(59885),u=n(82913);let d={lg:"p-24",md:"p-16",none:"p-0"},f=()=>({x:window.scrollX,y:window.scrollY}),h=(0,o.forwardRef)((e,t)=>{let{title:n,titleIcon:a,badge:c,header:u,showDragHandle:h=!1,showBack:x=!1,onBack:b,showClose:p=!0,onClose:w,type:y="default",padding:g="lg",actions:j,className:E,children:k,open:L,modal:N=!1,lockBodyScroll:A=!0,scrollLockMode:C="fixed",desktopWidth:z,fullscreen:T=!1,fitVisualViewport:M=!1,preventFocusScroll:P=!1,scrollable:S=!1,swipeToClose:R=!1,triggerElementId:D,closeLabel:B="Close",backLabel:I="Back",closeOnEscape:H=!0,closeOnOverlayClick:Y=!0,...O}=e,{style:_,...F}=O,X=(0,o.useId)(),U=null!=u,V=!U&&(null!=n||null!=a||null!=c||x||p||h),q=null!=j,G="fixed-actions"===y,J=null!=F["aria-label"]||null!=F["aria-labelledby"],K=(0,o.useRef)(null),Q=(0,o.useRef)(null),W=(0,o.useRef)(w);(0,o.useLayoutEffect)(()=>{W.current=w});let Z=!1!==L,[$,ee]=(0,o.useState)(Z),[et,en]=(0,o.useState)(Z),[el,er]=(0,o.useState)(f);Z!==et&&(en(Z),Z?(er(f()),ee(!0)):N||ee(!1));let eo=$&&!Z&&N;(0,o.useLayoutEffect)(()=>{if(!N||!M||!$)return;let e=K.current;if(!e)return;let t=window.visualViewport,n=()=>{var n,l;let r=null!=(n=null==t?void 0:t.height)?n:window.innerHeight;e.style.top="".concat(null!=(l=null==t?void 0:t.offsetTop)?l:0,"px"),e.style.height="".concat(r,"px"),e.style.setProperty("--bottom-sheet-visible-height","".concat(r,"px"))};return n(),null==t||t.addEventListener("resize",n),null==t||t.addEventListener("scroll",n),window.addEventListener("resize",n),()=>{null==t||t.removeEventListener("resize",n),null==t||t.removeEventListener("scroll",n),window.removeEventListener("resize",n)}},[M,N,$]);let ei=(0,o.useRef)(null);(0,o.useEffect)(()=>{eo?null==ei.current&&(ei.current=setTimeout(()=>{ei.current=null,ee(!1)},270)):null!=ei.current&&(clearTimeout(ei.current),ei.current=null)},[eo]),(0,o.useEffect)(()=>{if(Z&&H)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){if("Escape"===e.key){var t;e.stopPropagation(),null==(t=W.current)||t.call(W)}}},[Z,H]),(0,o.useLayoutEffect)(()=>{if(!N||!A||!$)return;if("overflow"===C){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}let e={overflow:document.body.style.overflow,position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,width:document.body.style.width,height:document.body.style.height},{x:t,y:n}=el,l=document.body.getBoundingClientRect();return document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top="-".concat(n,"px"),document.body.style.left="-".concat(t,"px"),document.body.style.width="".concat(l.width,"px"),document.body.style.height="".concat(l.height,"px"),()=>{Object.assign(document.body.style,e),window.scrollTo(t,n)}},[A,N,$,C,el]),(0,o.useLayoutEffect)(()=>{if(!N||!A||"overflow"!==C||!$)return;let e=K.current;if(!e)return;let t=0,n=e=>{var n,l;t=null!=(l=null==(n=e.touches[0])?void 0:n.clientY)?l:0},l=e=>{var n;let l=null==(n=e.touches[0])?void 0:n.clientY;if(null==l||!e.cancelable)return;let r=Q.current,o=e.target,i=l-t;if(t=l,!(null==r?void 0:r.contains(o)))return void e.preventDefault();let s=r.scrollTop<=0,a=r.scrollTop+r.clientHeight>=r.scrollHeight-1;(i>0&&s||i<0&&a)&&e.preventDefault()};return e.addEventListener("touchstart",n,{passive:!0}),e.addEventListener("touchmove",l,{passive:!1}),()=>{e.removeEventListener("touchstart",n),e.removeEventListener("touchmove",l)}},[A,N,$,C]);let[es,ea]=(0,o.useState)(0),[ec,eu]=(0,o.useState)(!1),ed=(0,o.useRef)(null),ef=R&&null!=w&&!T,eh=()=>{var e;if(null==ed.current)return;let t=es>120;ed.current=null,eu(!1),ea(0),t&&(null==(e=W.current)||e.call(W))},em=ef?{onPointerDown:e=>{ed.current=e.clientY,eu(!0);try{e.currentTarget.setPointerCapture(e.pointerId)}catch(e){}},onPointerMove:e=>{null!=ed.current&&ea(Math.max(0,e.clientY-ed.current))},onPointerUp:eh,onPointerCancel:eh}:void 0;if(!$)return null;let ev=M?{..._,maxHeight:"calc(var(--bottom-sheet-visible-height, 100dvh) - 12px)"}:_,ex=(0,l.jsxs)("div",{ref:t,role:"dialog","aria-modal":"true","aria-labelledby":null==n||J?void 0:X,className:(0,r.A)("flex w-full flex-col overflow-clip bg-container text-default text-body-md shadow-bottom-sheet",T?"h-full w-full rounded-none":(0,r.A)("w-full",z?"rounded-t-16 md:rounded-16":"rounded-t-16"),(N||S)&&!T&&"max-h-screen",N&&(0,r.A)(eo?"motion-safe:animate-bottom-sheet-out"
1:"motion-safe:animate-bottom-sheet-in",z&&"md:animate-none"),E),style:ef?{...ev,transform:es?"translateY(".concat(es,"px)"):void 0,transition:ec?"none":"transform 0.25s ease-out"}:ev,...F,children:[U?(0,l.jsxs)("div",{className:"flex w-full shrink-0 flex-col bg-container",children:[h&&(0,l.jsx)("div",{...em,className:(0,r.A)("flex shrink-0 justify-center pb-4 pt-8",ef&&"cursor-grab touch-none active:cursor-grabbing"),children:(0,l.jsx)("div",{"aria-hidden":"true",className:"h-4 w-15 rounded-md bg-container-highest"})}),u]}):V?(0,l.jsx)(m,{title:n,titleId:X,dragHandleProps:em,swipeEnabled:ef,titleIcon:a,badge:c,showDragHandle:h,showBack:x,onBack:b,showClose:p,onClose:w,closeLabel:B,backLabel:I}):null,(0,l.jsx)("div",{ref:Q,className:(0,r.A)("flex flex-col text-default",G&&"min-h-0 flex-1 overflow-auto",!G&&(N||S)&&"min-h-0 flex-1 overflow-y-auto",A&&"overflow"===C&&"overscroll-y-contain",G&&"none"===g?"bg-container-subtle":"bg-container",d[g]),children:k}),q?(0,l.jsxs)(l.Fragment,{children:[G?null:(0,l.jsx)(v,{}),(0,l.jsx)("div",{className:(0,r.A)("flex shrink-0 items-center justify-center gap-12 bg-container px-16 py-24",G&&"border-t border-border-subtle shadow-action-bar-overlap"),children:j})]}):null]});return N&&"undefined"!=typeof document?(0,i.createPortal)((0,l.jsx)(s.Ay,{autoFocus:!0,focusOptions:P?{preventScroll:!0}:void 0,returnFocus:()=>{if(D){var e;return null==(e=document.getElementById(D))||e.focus(P?{preventScroll:!0}:void 0),!1}return!P||{preventScroll:!0}},children:(0,l.jsx)("div",{ref:K,className:(0,r.A)("fixed inset-0",eo&&"pointer-events-none"),style:{zIndex:200,...M?{bottom:"auto",height:"100dvh"}:{}},onClick:Y?w:void 0,children:(0,l.jsx)("div",{onClick:e=>e.stopPropagation(),className:(0,r.A)("absolute bottom-0 left-0 right-0 max-h-full",T&&"top-0 left-0 right-0","sm"===z&&"md:bottom-auto md:left-1/2 md:top-1/2 md:w-100 md:-translate-x-1/2 md:-translate-y-1/2","md"===z&&"md:bottom-auto md:left-1/2 md:top-1/2 md:w-200 md:-translate-x-1/2 md:-translate-y-1/2"),children:ex})})}),document.body):ex});function m(e){let{title:t,titleId:n,titleIcon:o,badge:i,showDragHandle:s,showBack:d,onBack:f,showClose:h,onClose:m,closeLabel:x,backLabel:b,dragHandleProps:p,swipeEnabled:w}=e;return(0,l.jsxs)("header",{className:"flex w-full flex-col shrink-0",children:[(0,l.jsxs)("div",{className:(0,r.A)("flex flex-col items-center bg-container",s?(0,r.A)("gap-8 px-16 pt-8",null!=t||null!=o||null!=i?"pb-16":"pb-8"):"p-16"),children:[s&&(0,l.jsx)("div",{...p,className:(0,r.A)("flex w-full justify-center",w&&"cursor-grab touch-none active:cursor-grabbing"),children:(0,l.jsx)("div",{"aria-hidden":"true",className:"h-4 w-15 shrink-0 rounded-md bg-container-highest"})}),(0,l.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,l.jsx)("div",{className:"flex shrink-0 items-center justify-center size-24",children:d&&(0,l.jsx)(a.A,{size:"sm",icon:(0,l.jsx)(c.w,{}),"aria-label":b,onClick:f})}),(0,l.jsxs)("div",{className:"flex min-w-0 flex-1 items-center justify-center gap-6",children:[o&&(0,l.jsx)("span",{className:"inline-flex shrink-0 items-center justify-center size-icon-xs text-icon-default [&>svg]:size-full",children:o}),null!=t&&(0,l.jsx)("span",{id:n,role:"heading","aria-level":2,className:"truncate text-label-sm text-headline",children:t}),null!=i&&i]}),(0,l.jsx)("div",{className:"flex shrink-0 items-center justify-center size-24",children:h&&(0,l.jsx)(a.A,{size:"sm",icon:(0,l.jsx)(u.r,{}),"aria-label":x,onClick:m})})]})]}),(0,l.jsx)(v,{})]})}function v(){return(0,l.jsx)("div",{className:"h-px w-full shrink-0 bg-border-subtle","aria-hidden":"true"})}h.displayName="BottomSheet"},59885:(e,t,n)=>{n.d(t,{w:()=>s});var l,r=n(7620);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)({}).hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e}).apply(null,arguments)}var i=(0,r.forwardRef)(function(e,t){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",viewBox:"0 0 20 20",ref:t},e),l||(l=r.createElement("path",{fillRule:"evenodd",d:"M13.16 2.27c.36-.36.93-.36 1.29 0 .35.35.35.92 0 1.28L8 10l6.45 6.45c.35.35.35.93 0 1.28-.36.36-.93.36-1.29 0L6.4 10.98h.
101c-.13-.13-.24-.28-.3-.45-.06-.13-.09-.26-.1-.39L6 10l.01-.14c.01-.13.04-.26.1-.39l.05-.12c.07-.12.15-.23.25-.33z",clipRule:"evenodd"})))});let s=(0,n(10600).w)(i,"ArrowLeft1ThickIcon")}}]);
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.