PageSourceSearch

https://ocdhome.com/_next/static/chunks/sheet-B6GwVtAo.js

js ocdhome.com collected 2026-10-09 23:19:26 UTC 36,347 bytes, 41 lines download raw bytes

1import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t,n,r}from"./framework-D_rUT4EX.js";import{t as i}from"./createLucideIcon-CLApvFWr.js";import{a,c as o,i as s,n as c,o as l,r as u,s as d}from"./site-image-B4K568Dg.js";var f=i(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),p=i(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),m=i(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),h=r(),g=e(n(),1),_=e(t(),1),v=Object.defineProperty,y=(e,t)=>v(e,`name`,{value:t,configurable:!0});function b(e,t){return _.useReducer((e,n)=>t[e][n]??e,e)}y(b,`useStateMachine`);var x=y(e=>{let{present:t,children:n}=e,r=S(t),i=typeof n==`function`?n({present:r.isPresent}):_.Children.only(n),a=w(r.ref,E(i));return typeof n==`function`||r.isPresent?_.cloneElement(i,{ref:a}):null},`Presence`);function S(e){let[t,n]=_.useState(),r=_.useRef(null),i=_.useRef(e),a=_.useRef(`none`),o=_.useRef(void 0),[c,l]=b(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return _.useEffect(()=>{c===`mounted`?(a.current=o.current??T(r.current),o.current=void 0):a.current=`none`},[c]),s(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=T(t);e?(o.current=s,l(`MOUNT`)):s===`none`||t?.display===`none`?l(`UNMOUNT`):l(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,l]),s(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=y(a=>{let o=T(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(l(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=y(e=>{e.target===t&&(a.current=T(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}else l(`ANIMATION_END`)},[t,l]),{isPresent:[`mounted`,`unmountSuspended`].includes(c),ref:_.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=T(t)}else r.current=null;n(e)},[])}}y(S,`usePresence`);function C(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}y(C,`setRef`);function w(...e){let t=_.useRef(e);return t.current=e,_.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=C(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():C(n[e],null)}}},[])}y(w,`useStableComposedRefs`);function T(e){return e?.animationName||`none`}y(T,`getAnimationName`);function E(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}y(E,`getElementRef`);var ee=Object.defineProperty,te=(e,t)=>ee(e,`name`,{value:t,configurable:!0}),ne=_.useId||(()=>void 0),D=0;function O(e){let[t,n]=_.useState(ne());return s(()=>{e||n(e=>e??String(D++))},[e]),e||(t?`radix-${t}`:``)}te(O,`useId`);var re=Object.defineProperty,ie=(e,t)=>re(e,`name`,{value:t,configurable:!0});function ae(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}ie(ae,`setRef`);function oe(...e){return t=>{let n=!1,r=e.map(e=>{let r=ae(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():ae(e[t],null)}}}}ie(oe,`composeRefs`);function k(...e){return _.useCallback(oe(...e),e)}ie(k,`useComposedRefs`);var se=Object.defineProperty,ce=(e,t)=>se(e,`name`,{value:t,configurable:!0});function le(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}ce(le,`setRef`);function ue(...e){return t=>{let n=!1,r=e.map(e=>{let r=le(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():le(e[t],null)}}}}ce(ue,`composeRefs`);function de(...e){return _.useCallback(ue(...e),e)}ce(de,`useComposedRefs`);var fe=Object.defineProperty,pe=(e,t)=>fe(e,`name`,{value:t,configurable:!0});function A(e){let t=_.useRef(e);return _.useEffect(()=>{t.current=e}),_.useMemo(()=>((...e)=>t.current?.(...e)),[])}pe(A,`useCallbackRef`);var me=Object.defineProperty,j=(e,t)=>me(e,`name`,{value:t,configurable:!0}),he=`dismissableLayer.update`,ge=`dismissableLayer.pointerDownOutside`,_e=`dismissableLayer.focusOutside`,ve,ye=_.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),be=_.forwardRef(j(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:c,onDismiss:l,...u}=e,f=_.useContext(ye),[p,m]=_.useState(null),g=p?.ownerDocument??globalThis?.document,[,v]=_.useState({}),y=de(t,m),b=Array.from(f.layers),[x]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),S=x?b.indexOf(x):-1,C=p?b.indexOf(p):-1,w=f.layersWithOutsidePointerEventsDisabled.size>0,T=C>=S,E=_.useRef(!1),ee=Ce(e=>{o?.(e),c?.(e),e.defaultPrevented||l?.()},{ownerDocument:g,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:E,dismissableSurfaces:f.dismissableSurfaces,shouldHandlePointerDownOutside:_.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...f.branches].some(t=>t.contains(e));return T&&!t},[f.branches,T])}),te=we(e=>{if(r&&E.current)return;let t=e.target;[...f.branches].some(e=>e.contains(t))||(s?.(e),c?.(e),e.defaultPrevented||l?.())},g),ne=p?C===b.length-1:!1,D=A(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))});return _.useEffect(()=>
1{if(ne)return g.addEventListener(`keydown`,D,{capture:!0}),()=>g.removeEventListener(`keydown`,D,{capture:!0})},[g,ne,D]),_.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(ve=g.body.style.pointerEvents,g.body.style.pointerEvents=`none`),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),Te(),()=>{n&&(f.layersWithOutsidePointerEventsDisabled.delete(p),f.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=ve))}},[p,g,n,f]),_.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),Te())},[p,f]),_.useEffect(()=>{let e=j(()=>v({}),`handleUpdate`);return document.addEventListener(he,e),()=>document.removeEventListener(he,e)},[]),(0,h.jsx)(d.div,{...u,ref:y,style:{pointerEvents:w?T?`auto`:`none`:void 0,...e.style},onFocusCapture:a(e.onFocusCapture,te.onFocusCapture),onBlurCapture:a(e.onBlurCapture,te.onBlurCapture),onPointerDownCapture:a(e.onPointerDownCapture,ee.onPointerDownCapture)})},`DismissableLayer`));function xe(){let e=_.useContext(ye),[t,n]=_.useState(null);return _.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}j(xe,`useDismissableLayerSurface`);var Se=j(()=>!0,`IS_TRUE`);function Ce(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=Se}=t,s=A(e),c=_.useRef(!1),l=_.useRef(!1),u=_.useRef(new Map),d=_.useRef(()=>{});return _.useEffect(()=>{function e(){l.current=!1,i.current=!1,u.current.clear()}j(e,`resetOutsideInteraction`);function t(){return Array.from(u.current.values()).some(Boolean)}j(t,`isOutsideInteractionIntercepted`);function f(e){if(!l.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||u.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{l.current&&d.current()},0)}j(f,`handleInteractionCapture`);function p(e){l.current&&u.current.set(e.type,!1)}j(p,`handleInteractionBubble`);let m=j(a=>{if(a.target&&!c.current){let f=function(){n.removeEventListener(`click`,d.current);let r=t();e(),r||Ee(ge,s,p,{discrete:!0})};if(j(f,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,d.current),e(),c.current=!1;return}let p={originalEvent:a};l.current=!0,i.current=r&&a.button===0,u.current.clear(),!r||a.button!==0?f():(n.removeEventListener(`click`,d.current),d.current=f,n.addEventListener(`click`,d.current,{once:!0}))}else n.removeEventListener(`click`,d.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,f,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,d.current);for(let e of h)n.removeEventListener(e,f,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:j(()=>c.current=!0,`onPointerDownCapture`)}}j(Ce,`usePointerDownOutside`);function we(e,t=globalThis?.document){let n=A(e),r=_.useRef(!1);return _.useEffect(()=>{let e=j(e=>{e.target&&!r.current&&Ee(_e,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:j(()=>r.current=!0,`onFocusCapture`),onBlurCapture:j(()=>r.current=!1,`onBlurCapture`)}}j(we,`useFocusOutside`);function Te(){let e=new CustomEvent(he);document.dispatchEvent(e)}j(Te,`dispatchUpdate`);function Ee(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?o(i,a):i.dispatchEvent(a)}j(Ee,`handleAndDispatchCustomEvent`);var De=Object.defineProperty,Oe=(e,t)=>De(e,`name`,{value:t,configurable:!0});function ke(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}Oe(ke,`setRef`);function Ae(...e){return t=>{let n=!1,r=e.map(e=>{let r=ke(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():ke(e[t],null)}}}}Oe(Ae,`composeRefs`);function je(...e){return _.useCallback(Ae(...e),e)}Oe(je,`useComposedRefs`);var Me=Object.defineProperty,M=(e,t)=>Me(e,`name`,{value:t,configurable:!0}),Ne=`focusScope.autoFocusOnMount`,Pe=`focusScope.autoFocusOnUnmount`,Fe={bubbles:!1,cancelable:!0},Ie=_.forwardRef(M(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=_.useState(null),l=A(i),u=A(a),f=_.useRef(null),p=je(t,c),m=_.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;_.useEffect(()=>{if(r){let e=function(e){if(m.paused||!s)return;let t=e.target;s.contains(t)?f.current=t:N(f.current,{select:!0})},t=function(e){if(m.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||N(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&N(s)};M(e,`handleFocusIn`),M(t,`handleFocusOut`),M(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,s,m.paused]),_.useEffect(()=>{if(s){Ue.add(m);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(Ne,Fe);s.addEventListener(Ne,l),s.dispatchEvent(t),t.defaultPrevented||(Le(Ke(ze(s)),{select:!0}),document.activeElement===e&&N(s))}return()=>{s.removeEventListener(Ne,l),setTimeout(()=>{let t=new CustomEvent(Pe,Fe);s.addEventListener(Pe,u),s.dispatchEvent(t),t.defaultPrevented||N(e??document.body,{select:!0}),s.removeEventListener(Pe,u),Ue.remove(m)},0)}}},[s,l,u,m]);let g=_.useCallback(e=>{if(!n&&!r||m.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=Re(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&N(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&N(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,m.paused]);return(0,h.jsx)(d.div,{tabIndex:-1,...o,ref:p,onKeyDown:g})},`FocusScope`));function Le(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(N(r,{select:t}),document.activeElement!==n)return}M(Le,`focusFirst`);function Re(e){let t=ze(e);return[Be(t,e),Be(t.reverse(),e)]}M(Re,`getTabbableEdges`);function ze(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:M(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)}
1);for(;n.nextNode();)t.push(n.currentNode);return t}M(ze,`getTabbableCandidates`);function Be(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Ve(r,{upTo:t})))return r}M(Be,`findVisible`);function Ve(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}M(Ve,`isHidden`);function He(e){return e instanceof HTMLInputElement&&`select`in e}M(He,`isSelectableInput`);function N(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&He(e)&&t&&e.select()}}M(N,`focus`);var Ue=We();function We(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Ge(e,t),e.unshift(t)},remove(t){e=Ge(e,t),e[0]?.resume()}}}M(We,`createFocusScopesStack`);function Ge(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}M(Ge,`arrayRemove`);function Ke(e){return e.filter(e=>e.tagName!==`A`)}M(Ke,`removeLinks`);var qe=Object.defineProperty,Je=_.forwardRef(((e,t)=>qe(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:n,...r}=e,[i,a]=_.useState(!1);s(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?g.createPortal((0,h.jsx)(d.div,{...r,ref:t}),o):null},`Portal`)),Ye=Object.defineProperty,Xe=(e,t)=>Ye(e,`name`,{value:t,configurable:!0}),P=0,F=null;function Ze(e){return Qe(),e.children}Xe(Ze,`FocusGuards`);function Qe(){_.useEffect(()=>{F||={start:$e(),end:$e()};let{start:e,end:t}=F;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),P++,()=>{P===1&&(F?.start.remove(),F?.end.remove(),F=null),P=Math.max(0,P-1)}},[])}Xe(Qe,`useFocusGuards`);function $e(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}Xe($e,`createFocusGuard`);var I=function(){return I=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},I.apply(this,arguments)};function et(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function tt(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var L=`right-scroll-bar-position`,R=`width-before-scroll-bar`,nt=`with-scroll-bars-hidden`,rt=`--removed-body-scroll-bar-size`;function it(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function at(e,t){var n=(0,_.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var ot=_.useLayoutEffect,st=new WeakMap;function ct(e,t){var n=at(t||null,function(t){return e.forEach(function(e){return it(e,t)})});return ot(function(){var t=st.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||it(e,null)}),i.forEach(function(e){r.has(e)||it(e,a)})}st.set(n,e)},[e]),n}function lt(e){return e}function ut(e,t){t===void 0&&(t=lt);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;
vendor: 7,364 bytes, lines 1-41
1n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function dt(e){e===void 0&&(e={});var t=ut(null);return t.options=I({async:!0,ssr:!1},e),t}var ft=function(e){var t=e.sideCar,n=et(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return _.createElement(r,I({},n))};ft.isSideCarExport=!0;function pt(e,t){return e.useMedium(t),ft}var mt=dt(),ht=function(){},z=_.forwardRef(function(e,t){var n=_.useRef(null),r=_.useState({onScrollCapture:ht,onWheelCapture:ht,onTouchMoveCapture:ht}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=et(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=f,C=ct([n,t]),w=I(I({},x),i);return _.createElement(_.Fragment,null,u&&_.createElement(S,{sideCar:mt,removeScrollBar:l,shards:d,noRelative:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n,gapMode:b}),o?_.cloneElement(_.Children.only(s),I(I({},w),{ref:C})):_.createElement(y,I({},w,{className:c,ref:C}),s))});z.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},z.classNames={fullWidth:R,zeroRight:L};var gt,_t=function(){if(gt)return gt;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function vt(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=_t();return t&&e.setAttribute(`nonce`,t),e}function yt(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function bt(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var xt=function(){var e=0,t=null;return{add:function(n){e==0&&(t=vt())&&(yt(t,n),bt(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},St=function(){var e=xt();return function(t,n){_.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ct=function(){var e=St();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},wt=function(e){return parseInt(e||``,10)||0},Tt=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[wt(n),wt(r),wt(i)]},Et=function(e){e===void 0&&(e=`margin`);var t=Tt(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Dt=Ct(),B=`data-scroll-locked`,Ot=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
2  .${nt} {
3   overflow: hidden ${r};
4   padding-right: ${s}px ${r};
5  }
6  body[${B}] {
7    overflow: hidden ${r};
8    overscroll-behavior: contain;
9    ${[t&&`position: relative ${r};`,n===`margin`&&`
10    padding-left: ${i}px;
11    padding-top: ${a}px;
12    padding-right: ${o}px;
13    margin-left:0;
14    margin-top:0;
15    margin-right: ${s}px ${r};
16    `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)}
17  }
18  
19  .${L} {
20    right: ${s}px ${r};
21  }
22  
23  .${R} {
24    margin-right: ${s}px ${r};
25  }
26  
27  .${L} .${L} {
28    right: 0 ${r};
29  }
30  
31  .${R} .${R} {
32    margin-right: 0 ${r};
33  }
34  
35  body[${B}] {
36    ${rt}: ${s}px;
37  }
38`},kt=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},At=function(){_.useEffect(function(){return document.body.setAttribute(B,(kt()+1).toString()),function(){var e=kt()-1;e<=0?document.body.removeAttribute(B):document.body.setAttribute(B,e.toString())}},[])},jt=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;At();var a=_.useMemo(function(){return Et(i)},[i]);return _.createElement(Dt,{styles:Ot(a,!t,i,n?``:`!important`)})},Mt=!1;try{var V=Object.defineProperty({},`passive`,{get:function(){return Mt=!0,!0}});window.addEventListener(`test`,V,V),window.removeEventListener(`test`,V,V)}catch{Mt=!1}var H=Mt?{passive:!1}:!1,Nt=function(e){return e.tagName===`TEXTAREA`},Pt=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Nt(e)&&n[t]===`visible`)},Ft=function(e){return Pt(e,`overflowY`)},It=function(e){return Pt(e,`overflowX`)},Lt=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Bt(e,r)){var i=Vt(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Rt=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},zt=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Bt=function(e,t){return e===`v`?Ft(t):It(t)},Vt=function(e,t){return e===`v`?Rt(t):zt(t)},Ht=function(e,t){return e===`h`&&t===`rtl`?-1:1},Ut=function(e,t,n,r,i){var a=Ht(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=Vt(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Bt(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},U=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Wt=function(e){return[e.deltaX,e.deltaY]},Gt=function(e){return e&&`current`in e?e.current:e},Kt=function(e,t){return e[0]===t[0]&&e[1]===t[1]},qt=function(e){return`
39  .block-interactivity-${e} {pointer-events: none;}
40  .allow-interactivity-${e} {pointer-events: all;}
41`},Jt=0,W=[];function Yt(e){var t=_.useRef([]),n=_.useRef([0,0]),r=_.useRef(),i=_.useState(Jt++)[0],a=_.useState(Ct)[0],o=_.useRef(e);_.useEffect(function(){o.current=e},[e]),_.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=tt([e.lockRef.current],(e.shards||[]).map(Gt),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=_.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=U(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=Lt(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=Lt(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Ut(h,t,e,h===`h`?s:c,!0)},[]),c=_.useCallback(function(e){var n=e;if(!(!W.length||W[W.length-1]!==a)){var r=`deltaY`in n?Wt(n):U(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Kt(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}
41if(!i){var c=(o.current.shards||[]).map(Gt).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=_.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:Xt(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=_.useCallback(function(e){n.current=U(e),r.current=void 0},[]),d=_.useCallback(function(t){l(t.type,Wt(t),t.target,s(t,e.lockRef.current))},[]),f=_.useCallback(function(t){l(t.type,U(t),t.target,s(t,e.lockRef.current))},[]);_.useEffect(function(){return W.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener(`wheel`,c,H),document.addEventListener(`touchmove`,c,H),document.addEventListener(`touchstart`,u,H),function(){W=W.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,H),document.removeEventListener(`touchmove`,c,H),document.removeEventListener(`touchstart`,u,H)}},[]);var p=e.removeScrollBar,m=e.inert;return _.createElement(_.Fragment,null,m?_.createElement(a,{styles:qt(i)}):null,p?_.createElement(jt,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Xt(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Zt=pt(mt,Yt),Qt=_.forwardRef(function(e,t){return _.createElement(z,I({},e,{ref:t,sideCar:Zt}))});Qt.classNames=z.classNames;var $t=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},G=new WeakMap,K=new WeakMap,q={},en=0,tn=function(e){return e&&(e.host||tn(e.parentNode))},nn=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=tn(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},rn=function(e,t,n,r){var i=nn(t,Array.isArray(e)?e:[e]);q[n]||(q[n]=new WeakMap);var a=q[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(G.get(e)||0)+1,l=(a.get(e)||0)+1;G.set(e,c),a.set(e,l),o.push(e),c===1&&i&&K.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),en++,function(){o.forEach(function(e){var t=G.get(e)-1,i=a.get(e)-1;G.set(e,t),a.set(e,i),t||(K.has(e)||e.removeAttribute(r),K.delete(e)),i||e.removeAttribute(n)}),en--,en||(G=new WeakMap,G=new WeakMap,K=new WeakMap,q={})}},an=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||$t(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),rn(r,i,n,`aria-hidden`)):function(){return null}},on=Object.defineProperty,J=(e,t)=>on(e,`name`,{value:t,configurable:!0});function sn(e){let t=_.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];hn(r)&&typeof Y==`function`&&(r=Y(r._payload)),_.Children.forEach(r,e=>{if(pn(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;hn(n)&&typeof Y==`function`&&(n=Y(n._payload)),a=un(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=_.cloneElement(a,void 0,s):!o&&_.Children.count(r)===1&&_.isValidElement(r)&&(a=r);let c=a?fn(a):void 0,l=k(n,c);if(!a){if(r||r===0)throw Error(o?vn(e):_n(e));return r}let u=dn(i,a.props??{});return a.type!==_.Fragment&&(u.ref=n?l:c),_.cloneElement(a,u)});return t.displayName=`${e}.Slot`,t}J(sn,`createSlot`);var cn=Symbol.for(`radix.slottable`);function ln(e){let t=J(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=cn,t}J(ln,`createSlottable`);var un=J((e,t)=>
41{if(`child`in e.props){let t=e.props.child;return _.isValidElement(t)?_.cloneElement(t,void 0,e.props.children(t.props.children)):null}return _.isValidElement(t)?t:null},`getSlottableElementFromSlottable`);function dn(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}J(dn,`mergeProps`);function fn(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}J(fn,`getElementRef`);function pn(e){return _.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===cn}J(pn,`isSlottable`);var mn=Symbol.for(`react.lazy`);function hn(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===mn&&`_payload`in e&&gn(e._payload)}J(hn,`isLazyComponent`);function gn(e){return typeof e==`object`&&!!e&&`then`in e}J(gn,`isPromiseLike`);var _n=J(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),vn=J(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),Y=_.use,yn=Object.defineProperty,X=(e,t)=>yn(e,`name`,{value:t,configurable:!0}),bn=`Dialog`,[xn,Sn]=l(bn),[Cn,Z]=xn(bn),wn=X(e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=_.useRef(null),c=_.useRef(null),[l,d]=u({prop:r,defaultProp:i??!1,onChange:a,caller:bn}),[f,p]=_.useState(0),[m,g]=_.useState(0);return(0,h.jsx)(Cn,{scope:t,triggerRef:s,contentRef:c,contentId:O(),titleId:O(),descriptionId:O(),titlePresent:f>0,descriptionPresent:m>0,setTitleCount:p,setDescriptionCount:g,open:l,onOpenChange:d,onOpenToggle:_.useCallback(()=>d(e=>!e),[d]),modal:o,children:n})},`Dialog`),Tn=`DialogTrigger`,En=_.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(Tn,n),o=k(t,i.triggerRef);return(0,h.jsx)(d.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":$(i.open),...r,ref:o,onClick:a(e.onClick,i.onOpenToggle)})},`DialogTrigger`)),Dn=`DialogPortal`,[On,kn]=xn(Dn,{forceMount:void 0}),An=X(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=Z(Dn,t);return(0,h.jsx)(On,{scope:t,forceMount:n,children:_.Children.map(r,e=>(0,h.jsx)(x,{present:n||a.open,children:(0,h.jsx)(Je,{asChild:!0,container:i,children:e})}))})},`DialogPortal`),jn=`DialogOverlay`,Mn=_.forwardRef(X(function(e,t){let n=kn(jn,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Z(jn,e.__scopeDialog);return a.modal?(0,h.jsx)(x,{present:r||a.open,children:(0,h.jsx)(Pn,{...i,ref:t})}):null},`DialogOverlay`)),Nn=sn(`DialogOverlay.RemoveScroll`),Pn=_.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(jn,n),a=k(t,xe());return(0,h.jsx)(Qt,{as:Nn,allowPinchZoom:!0,shards:[i.contentRef],children:(0,h.jsx)(d.div,{"data-state":$(i.open),...r,ref:a,style:{pointerEvents:`auto`,...r.style}})})},`DialogOverlayImpl`)),Q=`DialogContent`,Fn=_.forwardRef(X(function(e,t){let n=kn(Q,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Z(Q,e.__scopeDialog);return(0,h.jsx)(x,{present:r||a.open,children:a.modal?(0,h.jsx)(In,{...i,ref:t}):(0,h.jsx)(Ln,{...i,ref:t})})},`DialogContent`)),In=_.forwardRef(X(function(e,t){let n=Z(Q,e.__scopeDialog),r=_.useRef(null),i=k(t,n.contentRef,r);return _.useEffect(()=>{let e=r.current;if(e)return an(e)},[]),(0,h.jsx)(Rn,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:a(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:a(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:a(e.onFocusOutside,e=>e.preventDefault())})},`DialogContentModal`)),Ln=_.forwardRef(X(function(e,t){let n=Z(Q,e.__scopeDialog),r=_.useRef(!1),i=_.useRef(!1);return(0,h.jsx)(Rn,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})},`DialogContentNonModal`)),Rn=_.forwardRef(X(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=Z(Q,n);return Qe(),(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(Ie,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,h.jsx)(be,{role:`dialog`,id:s.
41contentId,"aria-describedby":s.descriptionPresent?s.descriptionId:void 0,"aria-labelledby":s.titlePresent?s.titleId:void 0,"data-state":$(s.open),...o,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})},`DialogContentImpl`)),zn=`DialogTitle`,Bn=_.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(zn,n),{setTitleCount:a}=i;return s(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,h.jsx)(d.h2,{id:i.titleId,...r,ref:t})},`DialogTitle`)),Vn=`DialogDescription`,Hn=_.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(Vn,n),{setDescriptionCount:a}=i;return s(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,h.jsx)(d.p,{id:i.descriptionId,...r,ref:t})},`DialogDescription`)),Un=`DialogClose`,Wn=_.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(Un,n);return(0,h.jsx)(d.button,{type:`button`,...r,ref:t,onClick:a(e.onClick,()=>i.onOpenChange(!1))})},`DialogClose`));function $(e){return e?`open`:`closed`}X($,`getState`);function Gn({...e}){return(0,h.jsx)(wn,{"data-slot":`sheet`,...e})}function Kn({...e}){return(0,h.jsx)(En,{"data-slot":`sheet-trigger`,...e})}function qn({...e}){return(0,h.jsx)(Wn,{"data-slot":`sheet-close`,...e})}function Jn({...e}){return(0,h.jsx)(An,{"data-slot":`sheet-portal`,...e})}function Yn({className:e,...t}){return(0,h.jsx)(Mn,{"data-slot":`sheet-overlay`,className:c(`fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0`,e),...t})}function Xn({className:e,children:t,side:n=`right`,showCloseButton:r=!0,...i}){return(0,h.jsxs)(Jn,{children:[(0,h.jsx)(Yn,{}),(0,h.jsxs)(Fn,{"data-slot":`sheet-content`,className:c(`fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500`,n===`right`&&`inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm`,n===`left`&&`inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm`,n===`top`&&`inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top`,n===`bottom`&&`inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom`,e),...i,children:[t,r&&(0,h.jsxs)(Wn,{className:`absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary`,children:[(0,h.jsx)(m,{className:`size-4`}),(0,h.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function Zn({className:e,...t}){return(0,h.jsx)(Bn,{"data-slot":`sheet-title`,className:c(`font-semibold text-foreground`,e),...t})}function Qn({className:e,...t}){return(0,h.jsx)(Hn,{"data-slot":`sheet-description`,className:c(`text-sm text-muted-foreground`,e),...t})}export{O as _,Zn as a,p as b,Wn as c,Mn as d,An as f,A as g,be as h,Qn as i,Fn as l,En as m,qn as n,Kn as o,Bn as p,Xn as r,wn as s,Gn as t,Hn as u,x as v,f as x,m as y};

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.