performance.mark("js-parse-end:activity-96490ea4de7bc706.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["70197"],{14861(e,t,i){var r=i(31199),n=i(51591),s=i(74848),u=i(16522),l=i(95136),o=i(31854),c=i(14084);let a={};function h(e){let t,i=(0,u.c)(2),{children:r}=e;return i[0]!==r?(t=(0,s.jsx)(o.LB,{children:(0,s.jsx)(c.D,{baseUrl:"",children:(0,s.jsx)(l.y,{appName:"react-activity-view",category:"",metadata:a,children:r})})}),i[0]=r,i[1]=t):t=i[1],t}h.displayName="App";var b=i(64166);(0,n.o)("activity",()=>({App:h,routes:[(0,r.a)({path:"/:owner/:repo/activity",Component:b.A})]}))},31854(e,t,i){i.d(t,{nn:()=>b,LB:()=>h,Gy:()=>l,lm:()=>a});var r=i(74848),n=i(16522),s=i(96540);class u{#e=null;#t=null;#i=new Set;#r;#n;constructor(e,t){this.#r=[...e].sort((e,t)=>t-e),this.#n=t}subscribe=e=>{if("u"{this.#i.delete(e),this.#u()}};getSnapshot=()=>{if("u"{let t=e[0];if(!t)return;let i=this.#o(t.contentRect.width);if(null===this.#e||i!==this.#e)for(let e of(this.#e=i,this.#i))e()};#o(e){for(let t of this.#r)if(e>=t)return t;return this.#n}#l(){if("u"typeof window&&"number"==typeof window.innerWidth&&(e=window.innerWidth);let t=this.#o(e);return this.#e=t,t}#s(){this.#t||(this.#t=new ResizeObserver(this.#c),this.#t.observe(document.documentElement),null===this.#e&&this.#l())}#u(){0===this.#i.size&&this.#t&&(this.#t.disconnect(),this.#t=null)}}let l={small:1,medium:544,large:768,xlarge:1012,xxlarge:1280,xxxlarge:1350,xxxxlarge:1440},o=new u([l.xxxxlarge,l.xxxlarge,l.xxlarge,l.xlarge,l.large,l.medium,l.small],l.small),c=s.createContext({screenSize:l.small});function a(){return s.use(c)}function h(e){let t,i,u,a=(0,n.c)(7),{children:h,initialValue:b}=e,d=void 0===b?l.small:b;a[0]!==d?(t=()=>d,a[0]=d,a[1]=t):t=a[1];let S=(0,s.useSyncExternalStore)(o.subscribe,o.getSnapshot,t);a[2]!==S?(i={screenSize:S},a[2]=S,a[3]=i):i=a[3];let m=i;return a[4]!==h||a[5]!==m?(u=(0,r.jsx)(c,{value:m,children:h}),a[4]=h,a[5]=m,a[6]=u):u=a[6],u}function b(e){return o.computeSize(e)}c.displayName="ScreenContext",h.displayName="ScreenSizeProvider"}},function(e){e.O(0,["13726","15272","19274","28839","2966","34646","35650","36600","37869","46287","58889","59299","59852","60481","63991","68751","7053","7542","76015","77988","83465","85924","87376","90225","98131"],function(){return e(e.s=14861)}),e.O()}]); //# sourceMappingURL=activity-96490ea4de7bc706-b82711c79188f5b6.js.map