PageSourceSearch

https://quikirr.com/_next/static/chunks/26520-18c85f1952847f0d.js

js quikirr.com collected 2026-10-04 06:47:05 UTC 28,759 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26520],{6177:(e,a,t)=>{t.d(a,{Bm:()=>g,Cr:()=>u,E:()=>f,Hp:()=>b,Ko:()=>c,O4:()=>m,Ou:()=>o,Y:()=>v,hi:()=>d,i9:()=>i,kh:()=>s,nt:()=>r,nu:()=>l,qk:()=>h,uv:()=>x});let r={excelDataBridge:"/excel-data-bridge.html"},i={serverExportRequests:"/api/excel-server-export-requests",serverExportWorkersStatus:"/api/excel-server-export-workers/status",taskpaneExportRequests:"/api/excel-taskpane-export-requests",exportHistory:"/api/excel-export-history",userExcelDefaults:"/api/user/excel-defaults",globalExcelDefaults:"/api/global/excel-defaults",enterpriseExcelDefaults:e=>`/api/enterprise/${e}/excel-defaults`,excelGenerationLogs:"/api/excel-generation-logs",devDataCubeRequest:"/api/v1/dev/data-cube-request",uploadsCreate:"/api/uploads/create",rawUploadsPayload:"/api/raw-uploads/payload",replaySafePayloadUploadUrl:"/api/raw-uploads/payload/upload-url"},s={isExcelDialog:"isExcelDialog",existingAnalysis:"existingAnalysis",dataCubeRequestId:"dataCubeRequestId",analysisId:"analysisId",startupHandoffId:"startupHandoffId",parentOrigin:"parentOrigin",officeHostInfo:"_host_Info"},n=[s.isExcelDialog,s.existingAnalysis,"debugKeepDialogOpen",s.parentOrigin,s.officeHostInfo];function o(e,a){for(let t of n){let r=e.get(t);null!==r&&a.set(t,r)}return a}function d(e,a){if(!a)return e;let t=new URL(e,"https://relative-href.invalid");return t.searchParams.set(s.isExcelDialog,"true"),`${t.pathname}${t.search}${t.hash}`}function l(e){return`${i.serverExportRequests}/${encodeURIComponent(e)}`}function u(e){return`${l(e)}/download`}function c(e){return`/excel-export/download/server/${encodeURIComponent(e)}`}function f(e){return`/api/excel/pnl-server-export-requests/${encodeURIComponent(e)}`}function b(e){return`${f(e)}/download`}function g(e){return`${c(e)}?exportKind=pnl`}function p(e){return`${i.taskpaneExportRequests}/${encodeURIComponent(e)}`}function h(e){return`${p(e)}/status`}function x(e){return`${p(e)}/download`}function m(e){return`${p(e)}/cancel`}function v(e){return`${i.exportHistory}/${encodeURIComponent(e)}/name`}},39656:(e,a,t)=>{t.d(a,{$t:()=>g,TM:()=>f});var r=t(95155),i=t(12115),s=t(73321),n=t(66645),o=t(6177);let d="quikirr.excelDialogAuthReturnIntent.v1",l="excelDialogUrl",u=e=>{console.warn("ExcelDialogContext not initialized")},c=(0,i.createContext)({isExcelDialog:!1,setIsExcelDialog:u,isExistingAnalysis:!1,setIsExistingAnalysis:u,saaSModel:null,setSaaSModel:u}),f=()=>(0,i.useContext)(c);function b(e){if(!e)return null;let a=e.match(/^\/(?:analysis|pnl|census|pipeline-analysis)\/([^/?#]+)/);return a?decodeURIComponent(a[1]):null}let g=({children:e})=>{let a=(0,s.useSearchParams)(),t=(0,s.usePathname)();(0,s.useRouter)();let u="true"===a.get(o.kh.isExcelDialog),f="false"!==a.get(o.kh.existingAnalysis),[g,p]=(0,i.useState)(u),[h,x]=(0,i.useState)(f),[m,v]=(0,i.useState)(null);(0,i.useEffect)(()=>{let e=null;try{e=window.sessionStorage.getItem(d)}catch(e){n.vF.error("[ExcelDialogContext] Failed to read the dialog auth return intent",{error:e,fallback_state:"dialog_auth_return_intent_read_failed"});return}if(!e)return;let a=function(e){let a,t=function(e){try{let a=JSON.parse(e);if(!a||1!==a.version||"string"!=typeof a.href||"string"!=typeof a.analysisId||"string"!=typeof a.dataCubeRequestId||"number"!=typeof a.createdAtMs||!Number.isFinite(a.createdAtMs))return null;return{version:1,href:a.href,analysisId:a.analysisId,dataCubeRequestId:a.dataCubeRequestId,createdAtMs:a.createdAtMs}}catch{return null}}(e.raw);if(!t)return{status:"invalid",reason:"malformed"};let r=(e.nowMs??Date.now())-t.createdAtMs;if(r>18e5)return{status:"invalid",reason:"expired"};if(r<-6e4)return{status:"invalid",reason:"future_timestamp"};try{a=new URL(t.href,e.currentOrigin)}catch{return{status:"invalid",reason:"malformed"}}if(a.origin!==e.currentOrigin)return{status:"invalid",reason:"cross_origin"};let i=a.pathname.match(/^\/analysis\/(\d+)$/);return i?i[1]!==t.analysisId||a.searchParams.get("dataCubeRequestId")!==t.dataCubeRequestId?{status:"invalid",reason:"identity_mismatch"}:"true"!==a.searchParams.get("isExcelDialog")||"false"!==a.searchParams.get("existingAnalysis")||"dialog_api"!==a.searchParams.get("startupPayloadTransport")?{status:"invalid",reason:"invalid_dialog_contract"}:{status:"restore",targetHref:a.toString(),intent:t}:{status:"invalid",reason:"invalid_analysis_route"}}({raw:e,currentOrigin:window.location.origin}),r=()=>{try{window.sessionStorage.removeItem(d)}catch(e){n.vF.error("[ExcelDialogContext] Failed to clear the dialog auth return intent",{error:e,fallback_state:"dialog_auth_return_intent_clear_failed"})}};if("restore"!==a.status){r(),n.vF.error("[ExcelDialogContext] Refusing an invali
1d dialog auth return intent",{reason:a.reason,fallback_state:"dialog_auth_return_intent_invalid"});return}if(function(e){let a,t;if("restore"!==e.resolution.status)return!1;try{a=new URL(e.currentHref),t=new URL(e.resolution.targetHref)}catch{return!1}return a.origin===t.origin&&a.pathname===t.pathname&&a.searchParams.get("dataCubeRequestId")===e.resolution.intent.dataCubeRequestId&&"true"===a.searchParams.get("isExcelDialog")&&"false"===a.searchParams.get("existingAnalysis")&&"dialog_api"===a.searchParams.get("startupPayloadTransport")}({resolution:a,currentHref:window.location.href})){r(),n.vF.debug("[ExcelDialogContext] Consumed dialog auth return intent after successful analysis arrival",{analysisId:a.intent.analysisId,dataCubeRequestId:a.intent.dataCubeRequestId});return}if("/"===t){var i;r(),n.vF.error("[ExcelDialogContext] Auth callback lost the analysis return target; recovering it",{from:window.location.href,to:a.targetHref,analysisId:a.intent.analysisId,dataCubeRequestId:a.intent.dataCubeRequestId,fallback_state:"dialog_auth_return_target_recovered"}),i=a.targetHref,window.location.replace(i)}},[t]);let w=(0,i.useCallback)(e=>{p(e)},[p]),y=(0,i.useCallback)(e=>{x(e)},[x]);(0,i.useEffect)(()=>{var e;let r="true"===a.get(o.kh.isExcelDialog),i="false"!==a.get(o.kh.existingAnalysis);r!==g&&(n.vF.info(`[ExcelDialogContext] isExcelDialog changed: ${g} → ${r}`),p(r)),i!==h&&(n.vF.info(`[ExcelDialogContext] isExistingAnalysis changed: ${h} → ${i}`),x(i)),r&&sessionStorage.setItem(l,JSON.stringify({version:1,href:(e={href:window.location.href,pathname:t,searchParams:a}).href,analysisId:b(e.pathname),dataCubeRequestId:e.searchParams?.get(o.kh.dataCubeRequestId)??null,isExistingAnalysis:e.searchParams?.get(o.kh.existingAnalysis)!=="false",isExcelDialog:e.searchParams?.get(o.kh.isExcelDialog)==="true"}))},[t,a,g,h]),(0,i.useEffect)(()=>{var e;if(!g)return;let a=new URLSearchParams(window.location.search);if(a.has("code")||a.has("state"))return;let r=sessionStorage.getItem(l);if(!r)return;let i=function(e){if(!e)return null;try{let a=JSON.parse(e);if(!a||"object"!=typeof a||1!==a.version||"string"!=typeof a.href)return null;return{version:1,href:a.href,analysisId:"string"==typeof a.analysisId?a.analysisId:null,dataCubeRequestId:"string"==typeof a.dataCubeRequestId?a.dataCubeRequestId:null,isExistingAnalysis:!1!==a.isExistingAnalysis,isExcelDialog:!0===a.isExcelDialog}}catch{return null}}(r);if(!i){n.vF.error("[ExcelDialogContext] Ignoring invalid stored Excel dialog restore state",{currentUrl:window.location.href,hasLegacyStringState:!r.trim().startsWith("{")}),sessionStorage.removeItem(l);return}let s=!function(e){let a=b(e.pathname),t=e.searchParams?.get(o.kh.dataCubeRequestId)??null,r=e.searchParams?.get(o.kh.existingAnalysis)!=="false",i=e.searchParams?.get(o.kh.isExcelDialog)==="true";if(!e.storedState.isExcelDialog||!i||!e.storedState.analysisId||!a||e.storedState.analysisId!==a||e.storedState.isExistingAnalysis!==r)return!1;if(r){if(e.storedState.dataCubeRequestId&&t&&e.storedState.dataCubeRequestId!==t)return!1}else if(!e.storedState.dataCubeRequestId||!t||e.storedState.dataCubeRequestId!==t)return!1;return e.storedState.href!==e.currentHref}({storedState:(e={storedState:i,currentHref:window.location.href,pathname:t,searchParams:a}).storedState,currentHref:e.currentHref,pathname:e.pathname,searchParams:e.searchParams})?e.storedState.href===e.currentHref?"same_url":"stale":"restore";if("restore"!==s){let e={currentUrl:window.location.href,storedUrl:i.href,currentAnalysisId:b(t),storedAnalysisId:i.analysisId,currentDataCubeRequestId:a.get(o.kh.dataCubeRequestId)??null,storedDataCubeRequestId:i.dataCubeRequestId};"same_url"===s?n.vF.debug("[ExcelDialogContext] Stored Excel dialog restore state already matches current URL",e):n.vF.info("[ExcelDialogContext] Ignoring stale Excel dialog restore state",e),sessionStorage.removeItem(l);return}n.vF.info("[ExcelDialogContext] Restoring Excel dialog URL after auth",{from:window.location.href,to:i.href}),window.location.href=i.href},[g,t]),(0,i.useEffect)(()=>{if(g){let e=e=>{n.vF.debug("[ExcelDialogContext] Navigation detected in dialog mode",{url:e})};return window.addEventListener("beforeunload",()=>e(window.location.href)),()=>{window.removeEventListener("beforeunload",()=>e(window.location.href))}}},[g]);let _=(0,i.useMemo)(()=>({isExcelDialog:g,setIsExcelDialog:w,isExistingAnalysis:h,setIsExistingAnalysis:y,saaSModel:m,setS
1aaSModel:v}),[g,w,h,y,m,v]);return(0,r.jsx)(c.Provider,{value:_,children:e})}},60529:(e,a,t)=>{t.d(a,{p:()=>n});var r=t(95155),i=t(12115),s=t(90568);let n=i.forwardRef(({className:e,type:a,...t},i)=>(0,r.jsx)("input",{type:a,className:(0,s.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:i,...t}));n.displayName="Input"},62176:(e,a,t)=>{t.d(a,{GG:()=>r,IY:()=>d,Ic:()=>o,Oq:()=>l,Us:()=>s,Vl:()=>i,aw:()=>n});let r="transition-[color,background-color,border-color,transform] duration-150 ease-[cubic-bezier(0.23,1,0.32,1)] motion-safe:active:scale-[0.98]",i="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 data-[state=open]:duration-150 data-[state=closed]:duration-100 fill-mode-both ease-[cubic-bezier(0.23,1,0.32,1)]",s="motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[state=closed]:zoom-out-95",n="motion-safe:data-[side=bottom]:slide-in-from-top-1 motion-safe:data-[side=left]:slide-in-from-right-1 motion-safe:data-[side=right]:slide-in-from-left-1 motion-safe:data-[side=top]:slide-in-from-bottom-1",o="duration-200 ease-[cubic-bezier(0.23,1,0.32,1)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[state=closed]:zoom-out-95",d="data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 motion-safe:data-[state=delayed-open]:zoom-in-95 data-[state=delayed-open]:duration-150 ease-[
1cubic-bezier(0.23,1,0.32,1)]",l="motion-safe:transition-transform duration-200 ease-[cubic-bezier(0.23,1,0.32,1)]"},70872:(e,a,t)=>{t.d(a,{Bc:()=>l,KL:()=>f,S9:()=>g,ZI:()=>b,k$:()=>c,m_:()=>u});var r=t(95155),i=t(40623),s=t(90568),n=t(12115),o=t(57889),d=t(62176);let l=i.Kq,u=i.bL,c=i.l9,f=i.ZL,b=n.forwardRef(({className:e,sideOffset:a=4,style:t,...l},u)=>{let c=n.useCallback(e=>{(0,o.O9)(e,o.xg.floatingSurface,"TooltipContent"),(0,o.bl)(u,e)},[u]);return(0,r.jsx)(i.ZL,{children:(0,r.jsx)(i.UC,{ref:c,"data-ui-layer":"floating-surface",sideOffset:a,className:(0,s.cn)("origin-[var(--radix-tooltip-content-transform-origin)] overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md",d.IY,d.aw,e),style:{maxWidth:"20rem",whiteSpace:"normal",wordBreak:"break-word",...(0,o.Ij)(o.xg.floatingSurface,t)},...l})})});function g({label:e,children:a,side:t="top",sideOffset:i,delayDuration:s=0,className:n}){return(0,r.jsx)(l,{delayDuration:s,children:(0,r.jsxs)(u,{children:[(0,r.jsx)(c,{asChild:!0,children:a}),(0,r.jsx)(b,{side:t,sideOffset:i,className:n,children:e})]})})}b.displayName="TooltipContent"},86846:(e,a,t)=>{t.d(a,{E:()=>s});var r=t(95155),i=t(90568);function s({className:e,...a}){return(0,r.jsx)("div",{className:(0,i.cn)("relative overflow-hidden rounded-md bg-muted","before:absolute before:inset-0","before:-translate-x-full","before:animate-[shimmer_2s_infinite] motion-reduce:before:animate-none","before:bg-gradient-to-r","before:from-transparent before:via-white/20 before:to-transparent",e),...a})}},88061:(e,a,t)=>{t.d(a,{IR:()=>i,ML:()=>s,Pp:()=>r,Um:()=>l,_U:()=>o,eb:()=>n,rC:()=>d});let r="var(--app-sidebar-header-height, 52px)",i="px-3",s="inline-flex h-8 w-8 items-center justify-center rounded-md text-[#64748B] transition-colors duration-150 ease-out hover:bg-[#F7F9FA] hover:text-[#0E1624] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2563FF]/30",n="var(--app-sidebar-footer-height, 72px)",o={base:"rounded-lg shadow-[0_1px_3px_rgba(0,0,0,0.04)] bg-white",elevated:"rounded-lg shadow-[0_2px_8px_rgba(0,0,0,0.06),0_1px_2px_rgba(0,0,0,0.04)] bg-white hover:shadow-[0_4px_12px_rgba(0,0,0,0.08)] transition-shadow duration-200",accented:"relative pl-2.5 before:content-[''] before:absolute before:left-0 before:top-0 before:bottom-0 before:w-1 before:bg-brand-blue rounded-lg shadow-[0_1px_3px_rgba(0,0,0,0.04)] bg-white hover:shadow-[0_4px_12px_rgba(0,0,0,0.08)] transition-shadow duration-200",fullWidth:"w-full rounded-lg shadow-[0_1px_3px_rgba(0,0,0,0.04)] bg-white",fullWidthElevated:"w-full rounded-lg shadow-[0_2px_8px_rgba(0,0,0,0.06),0_1px_2px_rgba(0,0,0,0.04)] bg-white hover:shadow-[0_4px_12px_rgba(0,0,0,0.08)] transition-shadow duration-200",fullWidthAccented:"w-full relative pl-2.5 before:content-[''] before:absolute before:left-0 before:top-0 before:bottom-0 before:w-1 before:bg-brand-blue rounded-lg shadow-[0_1px_3px_rgba(0,0,0,0.04)] bg-white hover:shadow-[0_4px_12px_rgba(0,0,0,0.08)] transition-shadow duration-200",container:"w-full rounded-lg shadow-[0_1px_3px_rgba(0,0,0,0.04)] bg-white",withBackground:"rounded-lg shadow-[0_1px_3px_rgba(0,0,0,0.04)] bg-white",withShadow:"rounded-lg shadow-[0_2px_8px_rgba(0,0,0,0.06),0_1px_2px_rgba(0,0,0,0.04)] bg-white",subtle:"rounded-lg shadow-[0_1px_2px_rgba(0,0,0,0.03)] bg-white opacity-95",strong:"rounded-lg shadow-[0_4px_12px_rgba(0,0,0,0.08),0_2px_4px_rgba(0,0,0,0.04)] bg-white"},d="w-full max-w-screen-2xl mx-auto";function l(e){return`w-full overflow-hidden min-h-screen excel-grid-bg ${e||""}`.trim()}},97757:(e,a,t)=>{t.d(a,{Bx:()=>m,CG:()=>y,GB:()=>x,Gh:()=>w,Yv:()=>_,a7:()=>v,cL:()=>h});var r=t(95155),i=t(12115),s=t(42442),n=t(18460),o=t(69058),d=t(91669),l=t(90568),u=t(89239),c=t(60529),f=t(97916),b=t(86846),g=t(70872);let p=i.createContext(null);function h(){let e=i.useContext(p);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}let x=i.forwardRef(({defaultOpen:e=!1,open:a,onOpenChange:t,className:s,style:n,children:o,...d},u)=>{let[c,f]=i.useState(!1),[b,h]=i.useState(!1),[x,m]=i.useState(e),v=a??x,w=i.useCallback(e=>{let a="function"==typeof e?e(v):e;a!==v&&(t?t(a):m(a),document.cookie=`sidebar_state=${a}; path=/; max-age=604800`)},[t,v]),[y,_]=i.useState(!1),I=i.useCallback(()=>{_(!1)},[]),S=v||y,R=i.useCallback(()=>{w(e=>!e)},[w]);i.useEffect(()=>{let e=e=>
1{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),R())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[R]);let C=S?"expanded":"collapsed",N=i.useMemo(()=>({state:C,open:S,setOpen:w,pinned:v,peeking:y,setPeeking:_,closeTransientPeek:I,togglePinned:R,openMobile:c,setOpenMobile:f,toggleSidebar:R,overlay:b,setOverlay:h}),[C,S,w,v,y,_,I,R,c,f,R,b,h]);return(0,r.jsx)(p.Provider,{value:N,children:(0,r.jsx)(g.Bc,{delayDuration:0,children:(0,r.jsx)("div",{"data-state":C,style:{"--sidebar-width":"13rem","--sidebar-width-icon":"4rem",...n},className:(0,l.cn)("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",s),ref:u,...d,children:o})})})});x.displayName="SidebarProvider";let m=i.forwardRef(({className:e,children:a,side:t="left",collapsible:s=!0,overlay:n=!1,hoverPeek:o=!1,...d},u)=>{let{state:c,setOpen:f,pinned:b,peeking:g,setPeeking:p,overlay:x}=h(),m=i.useRef(null),v=i.useRef(null);i.useEffect(()=>()=>{m.current&&clearTimeout(m.current),v.current&&clearTimeout(v.current)},[]);let w=i.useCallback(()=>{v.current&&(clearTimeout(v.current),v.current=null),m.current||(m.current=setTimeout(()=>{m.current=null,p(!0)},90))},[p]),y=i.useCallback(()=>{m.current&&(clearTimeout(m.current),m.current=null),v.current||(v.current=setTimeout(()=>{v.current=null,p(!1)},160))},[p]),_=o&&g&&!b,I=o?b:"expanded"===c;return(0,r.jsxs)(r.Fragment,{children:[x&&"expanded"===c&&(0,r.jsx)("div",{className:"fixed inset-0 bg-black/20 z-40",onClick:()=>f(!1)}),(0,r.jsx)("div",{ref:u,"data-sidebar-root":"","data-sidebar-side":t,"data-sidebar-state":c,"data-sidebar-floating":_?"":void 0,onMouseEnter:o?w:void 0,onMouseLeave:o?y:void 0,className:(0,l.cn)("relative h-full max-w-full shrink-0 grow-0",_?"overflow-visible":"overflow-hidden",_&&"z-50",I?"w-[var(--sidebar-width)]":"w-[var(--sidebar-width-icon)]",x&&"expanded"===c?"absolute left-0 top-0 z-50 shadow-lg":"",e),...d,children:(0,r.jsx)("div",{"data-sidebar-content-shell":"",className:(0,l.cn)("h-full overflow-hidden",o?(0,l.cn)("absolute left-0 top-0 w-[var(--sidebar-width-icon)] bg-inherit transition-[width,box-shadow] duration-150 [transition-timing-function:cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none","expanded"===c&&"w-[var(--sidebar-width)]",_&&"shadow-[8px_0_28px_-12px_rgba(14,22,36,0.28)]"):"w-full"),children:a})})]})});m.displayName="Sidebar",i.forwardRef(({className:e,onClick:a,...t},i)=>{let{toggleSidebar:s}=h();return(0,r.jsxs)(u.$,{ref:i,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:(0,l.cn)("h-8 w-8",e),onClick:e=>{a?.(e),s()},...t,children:[(0,r.jsx)(o.A,{}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})}).displayName="SidebarTrigger";let v=i.forwardRef(({className:e,onClick:a,...t},i)=>{let{pinned:s,togglePinned:n}=h(),d="Keep sidebar open";return(0,r.jsxs)(g.m_,{children:[(0,r.jsx)(g.k$,{asChild:!0,children:(0,r.jsxs)(u.$,{ref:i,"data-sidebar":"pin-toggle","data-pinned":s?"":void 0,variant:"ghost",size:"icon","aria-pressed":s,"aria-label":d,className:(0,l.cn)("h-8 w-8",e,s&&"text-[#2563FF] hover:text-[#2563FF]"),onClick:e=>{a?.(e),n()},...t,children:[(0,r.jsx)(o.A,{}),(0,r.jsx)("span",{className:"sr-only",children:d})]})}),(0,r.jsx)(g.ZI,{side:"bottom",children:d})]})});v.displayName="SidebarPinToggle",i.forwardRef(({className:e,onClick:a,fixed:t=!0,...i},s)=>{let{setOpen:n,open:o}=h();return(0,r.jsxs)(u.$,{ref:s,"data-sidebar":"overlay-toggle",variant:"outline",size:"icon",className:(0,l.cn)("h-9 w-9 bg-white z-20 shadow-md hover:bg-gray-50",t&&"fixed left-2 top-4",o&&"hidden",e),onClick:e=>{a?.(e),n(!0)},...i,children:[(0,r.jsx)(d.A,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Show Sidebar"})]})}).displayName="SidebarOverlayToggle",i.forwardRef(({className:e,...a},t)=>{let{toggleSidebar:i}=h();return(0,r.jsx)("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:i,title:"Toggle Sidebar",className:(0,l.cn)("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...a})}).displayName="SidebarRail",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("main",{ref:t,className:(0,l.cn)("relative flex w-full flex-1 flex-col bg-background","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...a})).displayName="SidebarInset",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)(c.p,{ref:t,"data-sidebar":"input",className:(0,l.cn)("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...a})).displayName="SidebarInput";let w=i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("div",{ref:t,"data-sidebar":"header",className:(0,l.cn)("flex flex-col gap-2 p-2",e),...a}));w.displayName="SidebarHeader";let y=i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("div",{ref:t,"data-sidebar":"footer",className:(0,l.cn)("flex flex-col gap-2 p-2",e),...a}));y.displayName="SidebarFooter",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)(f.Separator,{ref:t,"data-sidebar":"separator",className:(0,l.cn)("mx-2 w-auto bg-sidebar-border",e),...a})).displayName="SidebarSeparator";let _=i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("div",{ref:t,"data-sidebar":"content",className:(0,l.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...a}));_.displayName="SidebarContent",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("div",{ref:t,"data-sidebar":"group",className:(0,l.cn)("relative flex w-full min-w-0 flex-col p-2 group-data-[state=collapsed]/sidebar-wrapper:px-0",e),...a})).displayName="SidebarGroup",i.forwardRef(({className:e,asChild:a=!1,...t},i)=>{let n=a?s.DX:"div";return(0,r.jsx)(n,{ref:i,"data-sidebar":"group-label",className:(0,l.cn)("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground
1/70 outline-hidden ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...t})}).displayName="SidebarGroupLabel",i.forwardRef(({className:e,asChild:a=!1,...t},i)=>{let n=a?s.DX:"button";return(0,r.jsx)(n,{ref:i,"data-sidebar":"group-action",className:(0,l.cn)("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:hidden",e),...t})}).displayName="SidebarGroupAction",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("div",{ref:t,"data-sidebar":"group-content",className:(0,l.cn)("w-full text-sm",e),...a})).displayName="SidebarGroupContent",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("ul",{ref:t,"data-sidebar":"menu",className:(0,l.cn)("flex w-full min-w-0 flex-col gap-1",e),...a})).displayName="SidebarMenu",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("li",{ref:t,"data-sidebar":"menu-item",className:(0,l.cn)("group/menu-item relative",e),...a})).displayName="SidebarMenuItem";let I=(0,n.F)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}});i.forwardRef(({asChild:e=!1,isActive:a=!1,variant:t="default",size:i="default",tooltip:n,className:o,...d},u)=>{let c=e?s.DX:"button",{state:f}=h(),b=(0,r.jsx)(c,{ref:u,"data-sidebar":"menu-button","data-size":i,"data-active":a,className:(0,l.cn)(I({variant:t,size:i}),o),...d});return n?("string"==typeof n&&(n={children:n}),(0,r.jsxs)(g.m_,{children:[(0,r.jsx)(g.k$,{asChild:!0,children:b}),(0,r.jsx)(g.ZI,{side:"right",align:"center",hidden:"collapsed"!==f,...n})]})):b}).displayName="SidebarMenuButton",i.forwardRef(({className:e,asChild:a=!1,showOnHover:t=!1,...i},n)=>{let o=a?s.DX:"button";return(0,r.jsx)(o,{ref:n,"data-sidebar":"menu-action",className:(0,l.cn)("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...i})}).displayName="SidebarMenuAction",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("div",{ref:t,"data-sidebar":"menu-badge",className:(0,l.cn)("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...a})).displayName="SidebarMenuBadge",i.forwardRef(({className:e,showIcon:a=!1,...t},s)=>{let n=i.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return(0,r.jsxs)("div",{ref:s,"data-sidebar":"menu-skeleton",className:(0,l.cn)("flex h-8 items-center gap-2 rounded-md px-2",e),...t,children:[a&&(0,r.jsx)(b.E,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,r.jsx)(b.E,{className:"h-4 max-w-[var(--skeleton-width)] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":n}})]})}).displayName="SidebarMenuSkeleton",i.forwardRef(({className:e,...a},t)=>(0,r.jsx)("ul",{ref:t,"data-sidebar":"menu-sub",className:(0,l.cn)("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...a})).displayName="SidebarMenuSub",i.forwardRef(({...e},a)=>(0,r.jsx)("li",{ref:a,...e})).displayName="SidebarMenuSubItem",i.forwardRef(({asChild:e=!1,size:a="md",isActive:t,className:i,...n},o)=>{let d=e?s.DX:"a";return(0,r.jsx)(d,{ref:o,"data-sidebar":"menu-sub-button","data-size":a,"data-active":t,className:(0,l.cn)("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===a&&"text-xs","md"===a&&"text-sm","group-data-[collapsible=icon]:hidden",i),...n})}).displayName="SidebarMenuSubButton"},97916:(e,a,t)=>{t.d(a,{Separator:()=>o});var r=t(95155),i=t(12115),s=t(15763),n=t(90568);let o=i.forwardRef(({className:e,orientation:a="horizontal",decorative:t=!0,...i},o)=>(0,r.jsx)(s.b,{ref:o,decorative:t,orientation:a,className:(0,n.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",e),...i}));o.displayName=s.b.displayName}}]);

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.