performance.mark("js-parse-end:8963-b679af6c81ca0d4a.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["8963"],{8470(e,t,o){o.d(t,{I:()=>i});let i=(0,o(96540).createContext)(null);i.displayName="AnalyticsContext"},98779(e,t,o){o.d(t,{R:()=>y});var i=o(74848),r=o(16522),n=o(54242),u=o(23666),s=o(32363),l=o(40914),a=o(27678),d=o(31595),c=o(68541),h=o(23082),f=o(7231);function y(e){let t,o,y,m,S=(0,r.c)(25),{size:k,buttonClassName:p,allowResizing:b,idEnding:g}=e,w=(0,n.t)(),v=(0,d.l)(),M=(0,a.y)(),R=(0,c.z)(),A=function(){let e,t=(0,r.c)(2),{addToast:o}=(0,l.Y6)();return t[0]!==o?(e=e=>o({type:"error",message:e}),t[0]=o,t[1]=e):e=t[1],e}(),{sendRepoClickEvent:C}=(0,f.T)(),{refSelectorShortcut:H}=(0,h.wk)();S[0]!==M||S[1]!==v||S[2]!==w?(t=e=>`${(0,u.IO9)({repo:w,commitish:e,action:M,path:v})}${window.location.search}`,S[0]=M,S[1]=v,S[2]=w,S[3]=t):t=S[3],S[4]!==C?(o=e=>C("REF_SELECTOR_MENU.CREATE_BRANCH",{ref_name:e}),S[4]=C,S[5]=o):o=S[5],S[6]!==C?(y=e=>e&&C("REF_SELECTOR_MENU"),S[6]=C,S[7]=y):y=S[7];let B=g||"repos-header-ref-selector";return S[8]!==b||S[9]!==p||S[10]!==A||S[11]!==R.listCacheKey||S[12]!==R.name||S[13]!==R.refType||S[14]!==H.hotkey||S[15]!==w.currentUserCanPush||S[16]!==w.defaultBranch||S[17]!==w.name||S[18]!==w.ownerLogin||S[19]!==k||S[20]!==t||S[21]!==o||S[22]!==y||S[23]!==B?(m=(0,i.jsx)(s.PI,{currentCommitish:R.name,defaultBranch:w.defaultBranch,owner:w.ownerLogin,repo:w.name,canCreate:w.currentUserCanPush,cacheKey:R.listCacheKey,selectedRefType:R.refType,getHref:t,hotKey:H.hotkey,onBeforeCreate:o,onCreateError:A,onOpenChange:y,size:k,buttonClassName:p,allowResizing:b,idEnding:B,useFocusZone:!0}),S[8]=b,S[9]=p,S[10]=A,S[11]=R.listCacheKey,S[12]=R.name,S[13]=R.refType,S[14]=H.hotkey,S[15]=w.currentUserCanPush,S[16]=w.defaultBranch,S[17]=w.name,S[18]=w.ownerLogin,S[19]=k,S[20]=t,S[21]=o,S[22]=y,S[23]=B,S[24]=m):m=S[24],m}y.displayName="ReposHeaderRefSelector"},27678(e,t,o){o.d(t,{O:()=>s,y:()=>l});var i=o(74848),r=o(16522),n=o(96540);let u=n.createContext("tree");function s(e){let t,o=(0,r.c)(3),{children:n,action:s}=e;return o[0]!==s||o[1]!==n?(t=(0,i.jsx)(u,{value:s,children:n}),o[0]=s,o[1]=n,o[2]=t):t=o[2],t}function l(){return n.use(u)}u.displayName="ActionContext",s.displayName="ActionProvider"},95173(e,t,o){o.d(t,{d:()=>s,w:()=>l});var i=o(74848),r=o(16522),n=o(96540);let u=n.createContext({copilotAccessAllowed:!1,copilotSpacesEnabled:!1,modelsAccessAllowed:!1,modelsRepoIntegrationEnabled:!1});function s(e){let t,o,n=(0,r.c)(8),{children:s,copilotAccessAllowed:l,copilotSpacesEnabled:a,modelsAccessAllowed:d,modelsRepoIntegrationEnabled:c}=e,h=void 0!==l&&l,f=void 0!==a&&a,y=void 0!==d&&d,m=void 0!==c&&c;n[0]!==h||n[1]!==f||n[2]!==y||n[3]!==m?(t={copilotAccessAllowed:h,copilotSpacesEnabled:f,modelsAccessAllowed:y,modelsRepoIntegrationEnabled:m},n[0]=h,n[1]=f,n[2]=y,n[3]=m,n[4]=t):t=n[4];let S=t;return n[5]!==s||n[6]!==S?(o=(0,i.jsx)(u,{value:S,children:s}),n[5]=s,n[6]=S,n[7]=o):o=n[7],o}function l(){return n.use(u)}u.displayName="CopilotSettingsContext",s.displayName="CopilotSettingsProvider"},56792(e,t,o){o.d(t,{M:()=>l,O:()=>s});var i=o(74848),r=o(16522),n=o(96540);let u=n.createContext({canEdit:!1,canEditOnDefaultBranch:!1,fileExistsOnDefault:!1});function s(e){let t,o,n=(0,r.c)(7),{children:s,canEdit:l,canEditOnDefaultBranch:a,fileExistsOnDefault:d}=e,c=void 0!==l&&l,h=void 0!==a&&a,f=void 0!==d&&d;n[0]!==c||n[1]!==h||n[2]!==f?(t={canEdit:c,canEditOnDefaultBranch:h,fileExistsOnDefault:f},n[0]=c,n[1]=h,n[2]=f,n[3]=t):t=n[3];let y=t;return n[4]!==s||n[5]!==y?(o=(0,i.jsx)(u,{value:y,children:s}),n[4]=s,n[5]=y,n[6]=o):o=n[6],o}function l(){return n.use(u)}u.displayName="EditPermissionsContext",s.displayName="EditPermissionsProvider"},31595(e,t,o){o.d(t,{l:()=>l,n:()=>s});var i=o(74848),r=o(16522),n=o(96540);let u=n.createContext("");function s(e){let t,o=(0,r.c)(3),{children:n,path:s}=e;return o[0]!==n||o[1]!==s?(t=(0,i.jsx)(u,{value:s,children:n}),o[0]=n,o[1]=s,o[2]=t):t=o[2],t}function l(){return n.use(u)}u.displayName="PathContext",s.displayName="PathProvider"},68541(e,t,o){o.d(t,{x:()=>s,z:()=>l});var i=o(74848),r=o(16522),n=o(96540);let u=n.createContext(null);function s(e){let t,o,n=(0,r.c)(8),{children:s,refInfo:l}=e;l?.name,l?.listCacheKey,l?.refType,l?.currentOid;let a=l?.name??"",d=l?.listCacheKey??"",c=l?.refType,h=l?.currentOid??"";n[0]!==a||n[1]!==d||n[2]!==c||n[3]!==h?(t={name:a,listCacheKey:d,refType:c,currentOid:h},n[0]=a,n[1]=d,n[2]=c,n[3]=h,n[4]=t):t=n[4];let f=t;return n[5]!==s||n[6]!==f?(o=(0,i.jsx)(u,{value:f,children:s}),n[5]=s,n[6]=f,n[7]=o):o=n[7],o}function l(){let e=n.use(u);if(null===e)throw Error("useRefInfo must be used within a RefInfoProvider");return e}u.displayName="RefInfoContext",s.displayName="RefInfoProvider"},23082(e,t,o){o.d(t,{V3:()=>d,_y:()=>a,wk:()=>l});var i=o(16522),r=o(19519),n=o(15393);let u={cursorNavigationHopWordLeft:{hotkey:"Alt+ArrowLeft,Ctrl+ArrowLeft",useWhileBlobFocused:!0,noModifierHotkey:["ArrowLeft"],modifierRequired:!0},cursorNavigationHopWordRight:{hotkey:"Alt+ArrowRight,Ctrl+ArrowRight",useWhileBlobFocused:!0,noModifierHotkey:["ArrowRight"],modifierRequired:!0},cursorNavigationTopOfPage:{hotkey:"Meta+ArrowUp",useWhileBlobFocused:!0,noModifierHotkey:["ArrowUp"],modifierRequired:!0},cursorNavigationBottomOfPage:{hotkey:"Meta+ArrowDown",useWhileBlobFocused:!0,noModifierHotkey:["ArrowDown"],modifierRequired:!0},cursorNavigationEnd:{hotkey:"End,Meta+ArrowRight",useWhileBlobFocused:!0,noModifierHotkey:["End"]},cursorNavigationHome:{hotkey:"Home,Meta+ArrowLeft",useWhileBlobFocused:!0,noModifierHotkey:["Home"]},cursorNavigationPageUp:{hotkey:"PageUp",useWhileBlobFocused:!0,noModifierHotkey:["PageUp"]},cursorNavigationPageDown:{hotkey:"PageDown",useWhileBlobFocused:!0,noModifierHotkey:["PageDown"]},cursorNavigationArrowDown:{hotkey:"ArrowDown",useWhileBlobFocused:!0,noModifierHotkey:["ArrowDown"]},cursorNavigationArrowUp:{hotkey:"ArrowUp",useWhileBlobFocused:!0,noModifierHotkey:["ArrowUp"]},cursorNavigationArrowLeft:{hotkey:"ArrowLeft",useWhileBlobFocused:!0,noModifierHotkey:["ArrowLeft"]},cursorNavigationArrowRight:{hotkey:"ArrowRight",useWhileBlobFocused:!0,noModifierHotkey:["ArrowRight"]},cursorNavigationShiftHopWordLeft:{hotkey:"Alt+Shift+ArrowLeft,Ctrl+Shift+ArrowLeft",useWhileBlobFocused:!0,noModifierHotkey:["ArrowLeft"],modifierRequired:!0},cursorNavigationShiftHopWordRight:{hotkey:"Alt+Shift+ArrowRight,Ctrl+Shift+ArrowRight",useWhileBlobFocused:!0,noModifierHotkey:["ArrowRight"],modifierRequired:!0},cursorNavigationShiftTopOfPage:{hotkey:"Meta+Shift+ArrowUp",useWhileBlobFocused:!0,noModifierHotkey:["ArrowUp"],modifierRequired:!0},cursorNavigationShiftBottomOfPage:{hotkey:"Meta+Shift+ArrowDown",useWhileBlobFocused:!0,noModifierHotkey:["ArrowDown"],modifierRequired:!0},cursorNavigationShiftEnd:{hotkey:"Shift+End,Meta+Shift+ArrowRight",useWhileBlobFocused:!0,noModifierHotkey:["End"],modifierRequired:!0},cursorNavigationShiftHome:{hotkey:"Shift+Home,Meta+Shift+ArrowLeft",useWhileBlobFocused:!0,noModifierHotkey:["Home"],modifierRequired:!0},cursorNavigationShiftPageUp:{hotkey:"Shift+PageUp",useWhileBlobFocused:!0,noModifierHotkey:["PageUp"],modifierRequired:!0},cursorNavigationShiftPageDown:{hotkey:"Shift+PageDown",useWhileBlobFocused:!0,noModifierHotkey:["PageDown"],modifierRequired:!0},cursorNavigationShiftArrowDown:{hotkey:"Shift+ArrowDown",useWhileBlobFocused:!0,noModifierHotkey:["ArrowDown"],modifierRequired:!0},cursorNavigationShiftArrowUp:{hotkey:"Shift+ArrowUp",useWhileBlobFocused:!0,noModifierHotkey:["ArrowUp"],modifierRequired:!0},cursorNavigationShiftArrowLeft:{hotkey:"Shift+ArrowLeft",useWhileBlobFocused:!0,noModifierHotkey:["ArrowLeft"],modifierRequired:!0},cursorNavigationShiftArrowRight:{hotkey:"Shift+ArrowRight",useWhileBlobFocused:!0,noModifierHotkey:["ArrowRight"],modifierRequired:!0},cursorNavigationHighlightLine:{text:"J",hotkey:"Shift+J",useWhileBlobFocused:!0,noModifierHotkey:["J"],modifierRequired:!0},cursorNavigationGoLineUp:{hotkey:"Ctrl+p",useWhileBlobFocused:!0,noModifierHotkey:["p"],modifierRequired:!0},cursorNavigationOpenHelpDialog:{hotkey:"Alt+F1,Control+Alt+\u02D9,Control+Alt+h",useWhileBlobFocused:!0,noModifierHotkey:["F1","h","\u02D9"],modifierRequired:!0},cursorNavigationGoLineDown:{hotkey:"Ctrl+n",useWhileBlobFocused:!0,noModifierHotkey:["n"],modifierRequired:!0},cursorNavigationEnter:{text:"\u2318 Enter",hotkey:"Meta+Enter",useWhileBlobFocused:!0,noModifierHotkey:["Enter"],modifierRequired:!0},cursorNavigationSpace:{hotkey:" ",useWhileBlobFocused:!0,noModifierHotkey:[" "],modifierRequired:!1},cursorNavigationShiftSpace:{hotkey:"Shift+ ",useWhileBlobFocused:!0,noModifierHotkey:[" "],modifierRequired:!0},expandAndFocusLineContextMenu:{text:"Shift Alt C",hotkey:"Alt+Shift+C,Alt+Shift+\xc7",useWhileBlobFocused:!0,noModifierHotkey:["C"],modifierRequired:!0},copyFilePathShortcut:{text:"\u2318 shift .",hotkey:"Meta+Shift+>",useWhileBlobFocused:!0,noModifierHotkey:["."],modifierRequired:!0},copyPermalinkShortcut:{text:"\u2318 shift ,",hotkey:"Meta+Shift+<",useWhileBlobFocused:!0,noModifierHotkey:[","],modifierRequired:!0},copyRawContentShortcut:{text:"\u2318 shift c",hotkey:"Meta+Shift+C",useWhileBlobFocused:!0,noModifierHotkey:["c"],modifierRequired:!0},downloadRawContentShortcut:{text:"\u2318 shift s",hotkey:"Meta+Shift+S",useWhileBlobFocused:!0,noModifierHotkey:["s"],modifierRequired:!0},editFileShortcut:{hotkey:"e,Shift+E",useWhileBlobFocused:!0,noModifierHotkey:["e","E"]},goToLineShortcut:{text:"l",hotkey:"l,Shift+L",ariaKeyShortcuts:"l",useWhileBlobFocused:!0,noModifierHotkey:["l","L"]},alternativeGoToLineShortcut:{hotkey:"Mod+Alt+g",ariaKeyShortcuts:"Mod+Alt+g",useWhileBlobFocused:!0,noModifierHotkey:["g","G"]},findInFileShortcut:{hotkey:"Meta+f, F3",text:"\u2318 f",ariaKeyShortcuts:"Meta+F",useWhileBlobFocused:!0,noModifierHotkey:["f","F3"],modifierRequired:!0},findFilesShortcut:{hotkey:"t,Shift+T",useWhileBlobFocused:!0,noModifierHotkey:["t","T"]},findSelectionShortcut:{hotkey:"Meta+e",useWhileBlobFocused:!0,noModifierHotkey:["e"],modifierRequired:!0},findNextShortcut:{hotkey:"Mod+g"},findPrevShortcut:{hotkey:"Mod+Shift+G"},openWithGitHubDevShortcut:{hotkey:"., Meta+Shift+/",useWhileBlobFocused:!0,noModifierHotkey:["."]},openWithGitHubDevInNewWindowShortcut:{hotkey:"Shift+.,Shift+>,>",useWhileBlobFocused:!0,noModifierHotkey:[">"]},permalinkShortcut:{hotkey:"y,Shift+Y",useWhileBlobFocused:!0,noModifierHotkey:["y","Y"]},searchShortcut:{hotkey:"/",useWhileBlobFocused:!0,noModifierHotkey:["/"]},selectAllShortcut:{hotkey:"Meta+a",useWhileBlobFocused:!0,noModifierHotkey:["a"],modifierRequired:!0},selectEditTabShortcut:{hotkey:"Mod+Shift+P"},submitCommitDialogShortcut:{hotkey:"Mod+Enter"},refSelectorShortcut:{hotkey:"w",text:"w",useWhileBlobFocused:!0,noModifierHotkey:["w"]},escapeRightClickMenu:{hotkey:"Escape",useWhileBlobFocused:!0,noModifierHotkey:["Escape"]},toggleFocusedPaneShortcut:{hotkey:"Meta+F6,Meta+Shift+F6",useWhileBlobFocused:!0,noModifierHotkey:["F6"],modifierRequired:!0},toggleSymbolsShortcut:{hotkey:"Meta+i",useWhileBlobFocused:!0,noModifierHotkey:["i"],modifierRequired:!0},toggleTreeShortcut:{hotkey:"Meta+b",useWhileBlobFocused:!0,noModifierHotkey:["b"],modifierRequired:!0},viewBlameShortcut:{hotkey:"b,Shift+B,Meta+/ Meta+b",useWhileBlobFocused:!0,noModifierHotkey:["b"]},viewCodeShortcut:{hotkey:"Meta+/ Meta+c",useWhileBlobFocused:!0,modifierRequired:!0},viewPreviewShortcut:{hotkey:"Meta+/ Meta+p"},viewRawContentShortcut:{text:"\u2318 / \u2318 r",hotkey:"Meta+/ Meta+r",useWhileBlobFocused:!0,noModifierHotkey:["r"],modifierRequired:!0},findSymbolShortcut:{hotkey:"r,Shift+R",useWhileBlobFocused:!0,noModifierHotkey:["r","R"],modifierRequired:!1}},s=new Map;function l(){let e,t,o=(0,i.c)(3);o[0]===Symbol.for("react.memo_cache_sentinel")?(e=["mac"],o[0]=e):e=o[0];let l=(0,n.X)(e),{isServer:a}=(0,r.V)(),d=0;if(l?d=1:a||(d=2),!s.has(d)){var c;let e=u;l||a||(e=Object.keys(u).reduce((e,t)=>{let o=u[t];return e[t]={hotkey:o.hotkey?.replace(/Meta/g,"Control"),text:o.text?.replace(/\u2318/g,"Ctrl").replace(/\u21e7/g,"Shift"),ariaKeyShortcuts:o.ariaKeyShortcuts?.replace(/Meta/g,"Control"),useWhileBlobFocused:o.useWhileBlobFocused,modifierRequired:o.modifierRequired,noModifierHotkey:o.noModifierHotkey},e},{})),a&&(e=Object.keys(c=e).reduce((e,t)=>{let o=c[t];return e[t]={hotkey:void 0,text:o.text?.replace(/\u2318/g,"Ctrl").replace(/\u21e7/g,"Shift"),ariaKeyShortcuts:o.ariaKeyShortcuts?.replace(/Meta/g,"Control"),useWhileBlobFocused:o.useWhileBlobFocused,modifierRequired:o.modifierRequired,noModifierHotkey:o.noModifierHotkey},e},{})),s.set(d,e)}return o[1]!==d?(t=s.get(d),o[1]=d,o[2]=t):t=o[2],t}function a(){let e,t=(0,i.c)(2),o=l();return t[0]!==o?(e=Object.keys(o).reduce((e,t)=>{let i=o[t];if(i.useWhileBlobFocused&&i.noModifierHotkey&&i.modifierRequired)for(let t of i.noModifierHotkey)e.includes(t)||e.push(t);return e},[]),t[0]=o,t[1]=e):e=t[1],e}function d(){let e,t=(0,i.c)(2),o=l();return t[0]!==o?(e=Object.keys(o).reduce((e,t)=>{let i=o[t];if(i.useWhileBlobFocused&&i.noModifierHotkey&&!i.modifierRequired)for(let t of i.noModifierHotkey)e.includes(t)||e.push(t);return e},[]),t[0]=o,t[1]=e):e=t[1],e}},97810(e,t,o){o.d(t,{H:()=>i});function i(e){return"tree"in e}},54242(e,t,o){o.d(t,{d:()=>s,t:()=>l});var i=o(74848),r=o(16522),n=o(96540);let u=n.createContext({});function s(e){let t,o=(0,r.c)(3),{repository:n,children:s}=e;return o[0]!==s||o[1]!==n?(t=(0,i.jsxs)(u,{value:n,children:[" ",s," "]}),o[0]=s,o[1]=n,o[2]=t):t=o[2],t}function l(){return n.use(u)}u.displayName="CurrentRepositoryContext",s.displayName="CurrentRepositoryProvider"},36594(e,t,o){o.d(t,{Q:()=>s,i:()=>l});var i=o(74848),r=o(16522),n=o(96540);let u=n.createContext(void 0);function s(e){let t,o=(0,r.c)(3),{user:n,children:s}=e;return o[0]!==s||o[1]!==n?(t=(0,i.jsxs)(u,{value:n,children:[" ",s," "]}),o[0]=s,o[1]=n,o[2]=t):t=o[2],t}function l(){return n.use(u)}u.displayName="CurrentUserContext",s.displayName="CurrentUserProvider"},206(e,t,o){o.d(t,{r:()=>s});var i=o(74848),r=o(16522),n=o(26316),u=o(94709);function s(e){let t,o,s,l,a,d,c,h=(0,r.c)(15);h[0]!==e?({ref:o,src:s,size:a,sx:l,...t}=e,h[0]=e,h[1]=t,h[2]=o,h[3]=s,h[4]=l,h[5]=a):(t=h[1],o=h[2],s=h[3],l=h[4],a=h[5]);let f=void 0===a?20:a;if(h[6]!==f||h[7]!==s){let e=new URL(s,n.fV.origin);e.searchParams.has("size")||e.searchParams.has("s")||e.searchParams.set("size",String(2*Number(f))),d=e.toString(),h[6]=f,h[7]=s,h[8]=d}else d=h[8];let y=d;return h[9]!==y||h[10]!==t||h[11]!==o||h[12]!==f||h[13]!==l?(c=(0,i.jsx)(u.eu,{src:y,size:f,"data-testid":"github-avatar",sx:l,...t,ref:o}),h[9]=y,h[10]=t,h[11]=o,h[12]=f,h[13]=l,h[14]=c):c=h[14],c}s.displayName="GitHubAvatar"},56341(e,t,o){o.d(t,{C3:()=>l,JV:()=>n,K3:()=>h,MM:()=>a,OE:()=>f,Qb:()=>y,Zu:()=>c,bj:()=>u,jc:()=>d,kd:()=>s});var i=o(26316);let r=null;function n(){return i.Kn?.state||{}}function u(e){m(n(),"",e)}function s(e){i.Kn?.pushState({appId:n().appId},"",e),S()}function l(e){let t={...n(),...e};r&&(r=t),m(t,"",location.href)}function a(e){u(`?${e.toString()}${i.fV.hash}`)}function d(){u(i.fV.pathname+i.fV.hash)}function c(e){u(e.startsWith("#")?e:`#${e}`),(r=n())&&requestIdleCallback(()=>{!history.state&&r&&(l(r),r=null)})}function h(){u(i.fV.pathname+i.fV.search)}function f(){i.Kn?.back()}function y(){i.Kn?.forward()}function m(e,t,o){i.Kn?.replaceState(e,t,o),S()}function S(){i.cg?.dispatchEvent(new CustomEvent("statechange",{bubbles:!1,cancelable:!1}))}},52111(e,t,o){o.d(t,{l:()=>i});let i=()=>void 0},58418(e,t,o){let i;o.d(t,{A:()=>d});var r=o(35205),n=o(51189);let{getItem:u,setItem:s,removeItem:l}=(0,r.A)("localStorage"),a="REACT_PROFILING_DISABLED_UNTIL",d={enable:()=>{l(a),i=void 0},disable:()=>{s(a,String(Date.now()+864e5)),i=!1},isEnabled:()=>!("u"=t)&&(l(a),!0)}():.02>Math.random()),resetCache:()=>{i=void 0}}},31854(e,t,o){o.d(t,{nn:()=>h,LB:()=>c,Gy:()=>s,lm:()=>d});var i=o(74848),r=o(16522),n=o(96540);class u{#e=null;#t=null;#o=new Set;#i;#r;constructor(e,t){this.#i=[...e].sort((e,t)=>t-e),this.#r=t}subscribe=e=>{if("u"{this.#o.delete(e),this.#u()}};getSnapshot=()=>{if("u"{let t=e[0];if(!t)return;let o=this.#l(t.contentRect.width);if(null===this.#e||o!==this.#e)for(let e of(this.#e=o,this.#o))e()};#l(e){for(let t of this.#i)if(e>=t)return t;return this.#r}#s(){if("u"typeof window&&"number"==typeof window.innerWidth&&(e=window.innerWidth);let t=this.#l(e);return this.#e=t,t}#n(){this.#t||(this.#t=new ResizeObserver(this.#a),this.#t.observe(document.documentElement),null===this.#e&&this.#s())}#u(){0===this.#o.size&&this.#t&&(this.#t.disconnect(),this.#t=null)}}let s={small:1,medium:544,large:768,xlarge:1012,xxlarge:1280,xxxlarge:1350,xxxxlarge:1440},l=new u([s.xxxxlarge,s.xxxlarge,s.xxlarge,s.xlarge,s.large,s.medium,s.small],s.small),a=n.createContext({screenSize:s.small});function d(){return n.use(a)}function c(e){let t,o,u,d=(0,r.c)(7),{children:c,initialValue:h}=e,f=void 0===h?s.small:h;d[0]!==f?(t=()=>f,d[0]=f,d[1]=t):t=d[1];let y=(0,n.useSyncExternalStore)(l.subscribe,l.getSnapshot,t);d[2]!==y?(o={screenSize:y},d[2]=y,d[3]=o):o=d[3];let m=o;return d[4]!==c||d[5]!==m?(u=(0,i.jsx)(a,{value:m,children:c}),d[4]=c,d[5]=m,d[6]=u):u=d[6],u}function h(e){return l.computeSize(e)}a.displayName="ScreenContext",c.displayName="ScreenSizeProvider"},5384(e,t,o){o.d(t,{Tt:()=>s,X7:()=>u,Ou:()=>l});let i="service_worker.postrequest";var r=o(66743);let n=null;async function u(e){if(null===n)try{let t=navigator.serviceWorker?.controller;if(!t||!function(e){let t=new URL(e,self.location.origin).pathname.split("/").filter(Boolean);if(4!==t.length||"issues"!==t[2])return!1;let o=t[3];return!!(void 0!==o&&/^\d+$/.test(o))&&!!t[0]&&!!t[1]}(e))return;let o=performance.now();n=await new Promise((n,u)=>{let s=new MessageChannel;function l(){s.port1.onmessage=null,s.port1.onmessageerror=null,s.port1.close(),s.port2.close()}let a=setTimeout(()=>{l();let e=performance.now()-o;(0,r.BI)(i,{duration_ms:e,timedOut:!0}),n(null)},500);s.port1.onmessage=e=>{clearTimeout(a),l();let t=performance.now()-o;if(e.data?.type==="CACHED_QUERIES_RESPONSE"&&e.data.data){let o=e.data.data.preloadedQueries;(0,r.BI)(i,{duration_ms:t,timedOut:!1}),n(o)}else(0,r.BI)(i,{duration_ms:t,timedOut:!1}),n(null)},s.port1.onmessageerror=()=>{clearTimeout(a),l(),u(Error("SW message channel error"))},t.postMessage({type:"GET_CACHED_QUERIES",url:e},[s.port2])})}catch{n=null}}function s(){return n}function l(){n=null}},19519(e,t,o){o.d(t,{V:()=>a});var i=o(96540);let r={type:"browser",isBrowser:!0,isServer:!1},n={type:"server",isBrowser:!1,isServer:!0};function u(){return()=>{}}function s(){return r}function l(){return n}function a(){return(0,i.useSyncExternalStore)(u,s,l)}},51581(e,t,o){o.d(t,{S:()=>l,s:()=>s});var i=o(16522),r=o(96540),n=o(66743),u=o(8470);function s(){let e,t,o=(0,i.c)(6),s=(0,r.use)(u.I);if(!s)throw Error("useAnalytics must be used within an AnalyticsContext");let{appName:l,category:a,metadata:d}=s;o[0]!==l||o[1]!==a||o[2]!==d?(e=(e,t,o)=>{let i={react:!0,app_name:l,category:a,...d};(0,n.BI)(e,{...i,...void 0===o?{}:o,target:t})},o[0]=l,o[1]=a,o[2]=d,o[3]=e):e=o[3];let c=e;return o[4]!==c?(t={sendAnalyticsEvent:c},o[4]=c,o[5]=t):t=o[5],t}function l(){let e,t,o=(0,i.c)(4),{sendAnalyticsEvent:r}=s();o[0]!==r?(e=e=>{r("analytics.click",void 0,void 0===e?{}:e)},o[0]=r,o[1]=e):e=o[1];let n=e;return o[2]!==n?(t={sendClickAnalyticsEvent:n},o[2]=n,o[3]=t):t=o[3],t}}}]); //# sourceMappingURL=8963-b679af6c81ca0d4a-e0d8369a62ba59cb.js.map