diffhub 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/apps/web/.next/BUILD_ID +1 -1
- package/.next/standalone/apps/web/.next/build-manifest.json +3 -3
- package/.next/standalone/apps/web/.next/prerender-manifest.json +3 -3
- package/.next/standalone/apps/web/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found/page.js +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.rsc +16 -15
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_full.segment.rsc +16 -15
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_index.segment.rsc +5 -4
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/api/comments/route.js +1 -1
- package/.next/standalone/apps/web/.next/server/app/api/comments/route.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/api/diff/route.js +2 -2
- package/.next/standalone/apps/web/.next/server/app/api/diff/route.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/api/discard/route.js +2 -2
- package/.next/standalone/apps/web/.next/server/app/api/discard/route.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/api/file/route.js +2 -2
- package/.next/standalone/apps/web/.next/server/app/api/file/route.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/api/files/route.js +2 -2
- package/.next/standalone/apps/web/.next/server/app/api/files/route.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.rsc +15 -14
- package/.next/standalone/apps/web/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/.next/standalone/apps/web/.next/server/app/index.segments/_full.segment.rsc +15 -14
- package/.next/standalone/apps/web/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/standalone/apps/web/.next/server/app/index.segments/_index.segment.rsc +5 -4
- package/.next/standalone/apps/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/page/react-loadable-manifest.json +2 -2
- package/.next/standalone/apps/web/.next/server/app/page.js +2 -2
- package/.next/standalone/apps/web/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__05ejtyr._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0e2dp4h._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0egk6ui._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0i6i-~n._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0sv4hr9._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0t.tl18._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{[root-of-the-server]__06b81~v._.js → [root-of-the-server]__0giwc4b._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0jit913._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0v19a7g._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0f40lcw._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0oc3qg_._.js +3 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{apps_web_0b_ykcu._.js → _0qo42r0._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{apps_web_08kf15u._.js → apps_web_0758ax4._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0v8w2j~._.js +70 -0
- package/.next/standalone/apps/web/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
- package/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
- package/.next/standalone/apps/web/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/apps/web/.next/static/chunks/{0-ci0c9di0qo8.js → 00zp83w4g1v1r.js} +3 -3
- package/.next/standalone/apps/web/.next/static/chunks/042ip11u2i2z6.js +138 -0
- package/.next/standalone/apps/web/.next/static/chunks/085s9eg867ha-.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/0_vmme_k_ff_u.js +67 -0
- package/.next/standalone/apps/web/.next/static/chunks/0ap~_hc7r17_6.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/0nt5-rwas5thn.js +67 -0
- package/.next/standalone/apps/web/.next/static/chunks/0p~3-4_.v0cft.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/0wx-2dr44ql-g.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/{0syypqto3~pe_.js → 0y0o261rjun_2.js} +8 -8
- package/.next/standalone/apps/web/.next/static/chunks/0y5z3t-z1c8ks.js.map +5 -0
- package/.next/standalone/apps/web/.next/static/chunks/17b.xoi.b6rcl.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/turbopack-0_n_4n~_4no2a.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +1 -0
- package/.next/standalone/apps/web/.next/static/media/diffs.worker.09unk0quktc_5.ts +1 -0
- package/.next/standalone/apps/web/package.json +4 -4
- package/README.md +10 -3
- package/package.json +4 -4
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__05vwx85._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__09vmjc2._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0etmu4u._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0g-_a7n._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0mshgfw._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/[root-of-the-server]__0qixima._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0f~hmsk._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0khyzju._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0l2mjim._.js +0 -70
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0kwaklj._.js +0 -3
- package/.next/standalone/apps/web/.next/static/chunks/0.ae0sud8tm7k.js +0 -204
- package/.next/standalone/apps/web/.next/static/chunks/0di~ntk7iivm4.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/0pklg0nmdvay8.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/0up9_7hiwl_dt.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/0~984a88e4rp9.js +0 -204
- package/.next/standalone/apps/web/.next/static/chunks/13y8355z8m13w.js +0 -1
- package/.next/standalone/apps/web/AGENTS.md +0 -60
- package/.next/standalone/apps/web/CHANGELOG.md +0 -7
- package/.next/standalone/apps/web/CLAUDE.md +0 -1
- package/.next/standalone/apps/web/README.md +0 -78
- package/.next/standalone/apps/web/app/api/comments/route.ts +0 -20
- package/.next/standalone/apps/web/app/api/diff/route.ts +0 -15
- package/.next/standalone/apps/web/app/api/discard/route.ts +0 -15
- package/.next/standalone/apps/web/app/api/file/route.ts +0 -17
- package/.next/standalone/apps/web/app/api/files/route.ts +0 -14
- package/.next/standalone/apps/web/app/api/open/route.ts +0 -64
- package/.next/standalone/apps/web/app/favicon.ico +0 -0
- package/.next/standalone/apps/web/app/globals.css +0 -214
- package/.next/standalone/apps/web/app/layout.tsx +0 -52
- package/.next/standalone/apps/web/app/page.tsx +0 -6
- package/.next/standalone/apps/web/bin/diffhub.mjs +0 -147
- package/.next/standalone/apps/web/components/ContextMenu.tsx +0 -161
- package/.next/standalone/apps/web/components/DiffApp.tsx +0 -419
- package/.next/standalone/apps/web/components/DiffViewer.tsx +0 -565
- package/.next/standalone/apps/web/components/FileDiffHeader.tsx +0 -119
- package/.next/standalone/apps/web/components/FileList.tsx +0 -455
- package/.next/standalone/apps/web/components/KeyboardShortcutsDialog.tsx +0 -79
- package/.next/standalone/apps/web/components/SidebarHelpMenu.tsx +0 -86
- package/.next/standalone/apps/web/components/StatusBar.tsx +0 -212
- package/.next/standalone/apps/web/components/icons/file-status-icons.tsx +0 -48
- package/.next/standalone/apps/web/components/theme-provider.tsx +0 -12
- package/.next/standalone/apps/web/components/ui/button.tsx +0 -90
- package/.next/standalone/apps/web/components/ui/empty.tsx +0 -82
- package/.next/standalone/apps/web/components/ui/input.tsx +0 -18
- package/.next/standalone/apps/web/components/ui/kbd.tsx +0 -14
- package/.next/standalone/apps/web/components/ui/separator.tsx +0 -23
- package/.next/standalone/apps/web/components/ui/sheet.tsx +0 -109
- package/.next/standalone/apps/web/components/ui/sidebar.tsx +0 -700
- package/.next/standalone/apps/web/components/ui/skeleton.tsx +0 -9
- package/.next/standalone/apps/web/components/ui/toggle.tsx +0 -35
- package/.next/standalone/apps/web/components/ui/tooltip.tsx +0 -52
- package/.next/standalone/apps/web/components.json +0 -27
- package/.next/standalone/apps/web/lib/comments.ts +0 -52
- package/.next/standalone/apps/web/lib/export-comments.ts +0 -13
- package/.next/standalone/apps/web/lib/git.ts +0 -201
- package/.next/standalone/apps/web/lib/use-mobile.ts +0 -19
- package/.next/standalone/apps/web/lib/utils.ts +0 -5
- package/.next/standalone/apps/web/next.config.ts +0 -19
- package/.next/standalone/apps/web/oxfmt.config.ts +0 -6
- package/.next/standalone/apps/web/oxlint.config.ts +0 -13
- package/.next/standalone/apps/web/postcss.config.mjs +0 -7
- package/.next/standalone/apps/web/public/file.svg +0 -1
- package/.next/standalone/apps/web/public/glide-variable-italic.woff2 +0 -0
- package/.next/standalone/apps/web/public/glide-variable.woff2 +0 -0
- package/.next/standalone/apps/web/public/globe.svg +0 -1
- package/.next/standalone/apps/web/public/next.svg +0 -1
- package/.next/standalone/apps/web/public/operator-mono-book-italic.woff2 +0 -0
- package/.next/standalone/apps/web/public/operator-mono-book.woff2 +0 -0
- package/.next/standalone/apps/web/public/operator-mono-medium-italic.woff2 +0 -0
- package/.next/standalone/apps/web/public/operator-mono-medium.woff2 +0 -0
- package/.next/standalone/apps/web/public/vercel.svg +0 -1
- package/.next/standalone/apps/web/public/window.svg +0 -1
- package/.next/standalone/apps/web/tsconfig.json +0 -34
- /package/.next/standalone/apps/web/.next/static/{ZhI_-YaFho-fQoajjgwSH → mAVCL4HCmtJwT35feBPdK}/_buildManifest.js +0 -0
- /package/.next/standalone/apps/web/.next/static/{ZhI_-YaFho-fQoajjgwSH → mAVCL4HCmtJwT35feBPdK}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/apps/web/.next/static/{ZhI_-YaFho-fQoajjgwSH → mAVCL4HCmtJwT35feBPdK}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35356,(s,t,e)=>{s.e,function(s){let t=Symbol("newer"),e=Symbol("older");class i{constructor(s,t){"number"!=typeof s&&(t=s,s=0),this.size=0,this.limit=s,this.oldest=this.newest=void 0,this._keymap=new Map,t&&(this.assign(t),s<1&&(this.limit=this.size))}_markEntryAsUsed(s){s!==this.newest&&(s[t]&&(s===this.oldest&&(this.oldest=s[t]),s[t][e]=s[e]),s[e]&&(s[e][t]=s[t]),s[t]=void 0,s[e]=this.newest,this.newest&&(this.newest[t]=s),this.newest=s)}assign(s){let i,n=this.limit||Number.MAX_VALUE;this._keymap.clear();let l=s[Symbol.iterator]();for(let s=l.next();!s.done;s=l.next()){let l=new a(s.value[0],s.value[1]);if(this._keymap.set(l.key,l),i?(i[t]=l,l[e]=i):this.oldest=l,i=l,0==n--)throw Error("overflow")}this.newest=i,this.size=this._keymap.size}get(s){var t=this._keymap.get(s);return t?(this._markEntryAsUsed(t),t.value):void 0}set(s,i){var n=this._keymap.get(s);return n?(n.value=i,this._markEntryAsUsed(n)):(this._keymap.set(s,n=new a(s,i)),this.newest?(this.newest[t]=n,n[e]=this.newest):this.oldest=n,this.newest=n,++this.size,this.size>this.limit&&this.shift()),this}shift(){var s=this.oldest;if(s)return this.oldest[t]?(this.oldest=this.oldest[t],this.oldest[e]=void 0):(this.oldest=void 0,this.newest=void 0),s[t]=s[e]=void 0,this._keymap.delete(s.key),--this.size,[s.key,s.value]}find(s){let t=this._keymap.get(s);return t?t.value:void 0}has(s){return this._keymap.has(s)}delete(s){var i=this._keymap.get(s);return i?(this._keymap.delete(i.key),i[t]&&i[e]?(i[e][t]=i[t],i[t][e]=i[e]):i[t]?(i[t][e]=void 0,this.oldest=i[t]):i[e]?(i[e][t]=void 0,this.newest=i[e]):this.oldest=this.newest=void 0,this.size--,i.value):void 0}clear(){this.oldest=this.newest=void 0,this.size=0,this._keymap.clear()}keys(){return new l(this.oldest)}values(){return new c(this.oldest)}entries(){return this}[Symbol.iterator](){return new n(this.oldest)}forEach(s,e){"object"!=typeof e&&(e=this);let i=this.oldest;for(;i;)s.call(e,i.value,i.key,this),i=i[t]}toJSON(){for(var s=Array(this.size),e=0,i=this.oldest;i;)s[e++]={key:i.key,value:i.value},i=i[t];return s}toString(){for(var s="",e=this.oldest;e;)s+=String(e.key)+":"+e.value,(e=e[t])&&(s+=" < ");return s}}function a(s,i){this.key=s,this.value=i,this[t]=void 0,this[e]=void 0}function n(s){this.entry=s}function l(s){this.entry=s}function c(s){this.entry=s}s.LRUMap=i,n.prototype[Symbol.iterator]=function(){return this},n.prototype.next=function(){let s=this.entry;return s?(this.entry=s[t],{done:!1,value:[s.key,s.value]}):{done:!0,value:void 0}},l.prototype[Symbol.iterator]=function(){return this},l.prototype.next=function(){let s=this.entry;return s?(this.entry=s[t],{done:!1,value:s.key}):{done:!0,value:void 0}},c.prototype[Symbol.iterator]=function(){return this},c.prototype.next=function(){let s=this.entry;return s?(this.entry=s[t],{done:!1,value:s.value}):{done:!0,value:void 0}}}(e)},15126,s=>{"use strict";let t,e={position:"absolute",top:0,bottom:0,textAlign:"center"},i={display:"contents"};function a(){return null}var n=s.i(27101),l=s.i(2612),c=s.i(81099);function h({file:s,renderCustomHeader:t,renderHeaderPrefix:i,renderHeaderMetadata:a,renderAnnotation:r,lineAnnotations:u,renderGutterUtility:o,renderHoverUtility:m,getHoveredLine:k}){let j=o??m,p=t?.(s),v=i?.(s),d=a?.(s);return(0,c.jsxs)(c.Fragment,{children:[null!=p?(0,c.jsx)("div",{slot:n.CUSTOM_HEADER_SLOT_ID,children:p}):(0,c.jsxs)(c.Fragment,{children:[null!=v&&(0,c.jsx)("div",{slot:n.HEADER_PREFIX_SLOT_ID,children:v}),null!=d&&(0,c.jsx)("div",{slot:n.HEADER_METADATA_SLOT_ID,children:d})]}),null!=r&&u?.map((s,t)=>(0,c.jsx)("div",{slot:(0,l.getLineAnnotationName)(s),children:r(s)},t)),null!=j&&(0,c.jsx)("div",{slot:"gutter-utility-slot",style:e,children:j(k)})]})}function r(s,t){return"u"<typeof window&&null!=t?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("template",{shadowrootmode:"open",dangerouslySetInnerHTML:{__html:t}}),s]}):(0,c.jsx)(c.Fragment,{children:s})}var u=s.i(29788),o=s.i(14499);let m=(0,o.createContext)(void 0);function k(){return(0,o.useContext)(m)}var j=s.i(39229),p=s.i(30891),v=s.i(51045),d=s.i(16049),f=s.i(8456),g=s.i(35864),P=s.i(82189),y=s.i(16876),w=s.i(60166),_=s.i(19013),b=s.i(84036),x=s.i(10906),q=s.i(59241),z=s.i(46118),C=s.i(95102),S=s.i(90133),E=s.i(94662),T=s.i(35356);let F=Symbol("IGNORE_RESPONSE");var A=class{highlighter;preferredHighlighter;renderOptions;initialized=!1;workers=[];taskQueue=new Map;pendingTasks=new Map;nextRequestId=0;themeSubscribers=new Set;workersFailed=!1;instanceRequestMap=new Map;statSubscribers=new Set;fileCache;diffCache;_queuedBroadcast;constructor(s,{langs:t,theme:e=n.DEFAULT_THEMES,useTokenTransformer:i=!1,lineDiffType:a="word-alt",maxLineDiffLength:l=1e3,tokenizeMaxLineLength:c=1e3,preferredHighlighter:h="shiki-js"}){this.options=s,this.preferredHighlighter=h,this.renderOptions={theme:e,useTokenTransformer:i,lineDiffType:a,maxLineDiffLength:l,tokenizeMaxLineLength:c},this.fileCache=new T.default.LRUMap(s.totalASTLRUCacheSize??100),this.diffCache=new T.default.LRUMap(s.totalASTLRUCacheSize??100),this.initialize(t)}isWorkingPool(){return!this.workersFailed}getFileResultCache(s){return null!=s.cacheKey?this.fileCache.get(s.cacheKey):void 0}getDiffResultCache(s){return null!=s.cacheKey?this.diffCache.get(s.cacheKey):void 0}inspectCaches(){let{fileCache:s,diffCache:t}=this;return{fileCache:s,diffCache:t}}evictFileFromCache(s){try{return void 0!==this.fileCache.delete(s)}finally{this.queueBroadcastStateChanges()}}evictDiffFromCache(s){try{return void 0!==this.diffCache.delete(s)}finally{this.queueBroadcastStateChanges()}}async setRenderOptions({theme:s=n.DEFAULT_THEMES,useTokenTransformer:t=!1,lineDiffType:e="word-alt",maxLineDiffLength:i=1e3,tokenizeMaxLineLength:a=1e3}){let l={theme:s,useTokenTransformer:t,lineDiffType:e,maxLineDiffLength:i,tokenizeMaxLineLength:a};if(this.isInitialized()||await this.initialize(),(0,_.areDiffRenderOptionsEqual)(l,this.renderOptions))return;let c=(0,v.getThemes)(s),h=[];if((0,f.areThemesEqual)(l.theme,this.renderOptions.theme)||(h=(0,d.hasResolvedThemes)(c)?(0,S.getResolvedThemes)(c):await (0,E.resolveThemes)(c)),null!=this.highlighter)(0,j.attachResolvedThemes)(h,this.highlighter),await this.setRenderOptionsOnWorkers(l,h);else{let[s]=await Promise.all([(0,p.getSharedHighlighter)({themes:c,langs:["text"],preferredHighlighter:this.preferredHighlighter}),this.setRenderOptionsOnWorkers(l,h)]);this.highlighter=s}for(let s of(this.renderOptions=l,this.diffCache.clear(),this.fileCache.clear(),this.themeSubscribers))s.rerender()}getFileRenderOptions(){let{tokenizeMaxLineLength:s,theme:t,useTokenTransformer:e}=this.renderOptions;return{theme:t,useTokenTransformer:e,tokenizeMaxLineLength:s}}getDiffRenderOptions(){return{...this.renderOptions}}async setRenderOptionsOnWorkers(s,t){if(this.workersFailed)return;this.isInitialized()||await this.initialize();let e=[];for(let i of this.workers){if(!i.initialized)throw console.log({managedWorker:i}),Error("setRenderOptionsOnWorkers: Somehow we have an uninitialized worker");e.push(new Promise((e,a)=>{let n=this.generateRequestId(),l={type:"set-render-options",id:n,request:{type:"set-render-options",id:n,renderOptions:s,resolvedThemes:t},resolve:e,reject:a,requestStart:Date.now()};this.pendingTasks.set(n,l),i.worker.postMessage(l.request)}))}await Promise.all(e)}subscribeToThemeChanges(s){return this.themeSubscribers.add(s),this.queueBroadcastStateChanges(),()=>{this.unsubscribeToThemeChanges(s),this.queueBroadcastStateChanges()}}unsubscribeToThemeChanges(s){this.themeSubscribers.delete(s),this.queueBroadcastStateChanges()}subscribeToStatChanges(s){return this.statSubscribers.add(s),s(this.getStats()),()=>{this.statSubscribers.delete(s)}}queueBroadcastStateChanges(){null==this._queuedBroadcast&&(this._queuedBroadcast=requestAnimationFrame(this._broadcastStateChanges))}_broadcastStateChanges=()=>{null!=this._queuedBroadcast&&(cancelAnimationFrame(this._queuedBroadcast),this._queuedBroadcast=void 0);let s=this.getStats();for(let t of this.statSubscribers)t(s)};cleanUpPendingTasks(s){this.taskQueue.delete(s);let t=this.instanceRequestMap.get(s);null!=t&&(this.pendingTasks.delete(t),this.instanceRequestMap.delete(s)),this.queueBroadcastStateChanges()}isInitialized(){return!0===this.initialized}async initialize(s=[]){return!0===this.initialized?void 0:!1!==this.initialized?this.initialized:void(this.initialized=new Promise((t,e)=>{(async()=>{try{let e=(0,v.getThemes)(this.renderOptions.theme),i=[];i=(0,d.hasResolvedThemes)(e)?(0,S.getResolvedThemes)(e):await (0,E.resolveThemes)(e);let a=[];a=(0,z.hasResolvedLanguages)(s)?(0,q.getResolvedLanguages)(s):await (0,C.resolveLanguages)(s);let[n]=await Promise.all([(0,p.getSharedHighlighter)({themes:e,langs:["text",...s],preferredHighlighter:this.preferredHighlighter}),this.initializeWorkers(i,a)]);if(!1===this.initialized)throw this.terminateWorkers(),Error("WorkerPoolManager: workers failed to initialize");this.highlighter=n,this.initialized=!0,this.diffCache.clear(),this.fileCache.clear(),this.drainQueue(),this.queueBroadcastStateChanges(),t()}catch(s){this.initialized=!1,this.workersFailed=!0,this.queueBroadcastStateChanges(),e(s)}})()}),this.queueBroadcastStateChanges())}async initializeWorkers(s,t){this.workersFailed=!1;let e=[],i=(0,g.getCustomExtensionsVersion)(),a=i>0?(0,g.getCustomExtensionsMap)():void 0;this.workers.length>0&&this.terminateWorkers();for(let n=0;n<(this.options.poolSize??8);n++){let n=this.options.workerFactory(),l={worker:n,request_id:void 0,initialized:!1,langs:new Set(["text",...t.map(({name:s})=>s)]),customExtensionsVersion:0};n.addEventListener("message",s=>{this.handleWorkerMessage(l,s.data)}),n.addEventListener("error",s=>console.error("Worker error:",s,l)),this.workers.push(l),e.push(new Promise((e,n)=>{let c=this.generateRequestId(),h={type:"initialize",id:c,request:{type:"initialize",id:c,renderOptions:this.renderOptions,preferredHighlighter:this.preferredHighlighter,resolvedThemes:s,resolvedLanguages:t,customExtensionsVersion:null!=a?i:void 0,customExtensionMap:a},resolve(){l.initialized=!0,e()},reject:n,requestStart:Date.now()};this.pendingTasks.set(c,h),this.executeTask(l,h)}))}await Promise.all(e)}drainQueue=()=>{if(this._queuedDrain=void 0,!0===this.initialized&&0!==this.taskQueue.size){for(let[s,t]of this.taskQueue){if(this.instanceRequestMap.has(s))continue;let e=R(t),i=this.getAvailableWorker(e);if(null==i)break;this.assignWorkerToTask(t,i),this.resolveLanguagesAndExecuteTask(i,t,e)}this.queueBroadcastStateChanges()}};highlightFileAST(s,t){if(!(0,P.isFilePlainText)(t)){for(let e of[this.taskQueue,this.pendingTasks.values()])for(let i of e)if("instance"in i&&i.instance===s&&"file"===i.request.type&&(0,w.areFilesEqual)(t,i.request.file))return;this.submitTask(s,{type:"file",file:t})}}getPlainFileAST(s,t,e,i){return null==this.highlighter?void this.initialize():(0,y.renderFileWithHighlighter)(s,this.highlighter,this.renderOptions,{forcePlainText:!0,startingLine:t,totalLines:e,lines:i})}highlightDiffAST(s,t){if(!(0,b.isDiffPlainText)(t)){for(let e of[this.taskQueue,this.pendingTasks.values()])for(let i of e)if("instance"in i&&i.instance===s&&"diff"===i.request.type&&i.request.diff===t)return;this.submitTask(s,{type:"diff",diff:t})}}getPlainDiffAST(s,t,e,i,a){return null!=this.highlighter?(0,x.renderDiffWithHighlighter)(s,this.highlighter,this.renderOptions,{forcePlainText:!0,startingLine:t,totalLines:e,expandedHunks:i,collapsedContextThreshold:a}):void 0}terminate(){this.terminateWorkers(),this.fileCache.clear(),this.diffCache.clear(),this.instanceRequestMap.clear(),this.taskQueue.clear(),this.pendingTasks.clear(),this.highlighter=void 0,this.initialized=!1,this.workersFailed=!1,this.queueBroadcastStateChanges()}terminateWorkers(){for(let s of this.workers)s.worker.terminate();this.workers.length=0}getStats(){return{managerState:!1===this.initialized?"waiting":!0!==this.initialized?"initializing":"initialized",totalWorkers:this.workers.length,workersFailed:this.workersFailed,busyWorkers:this.workers.filter(s=>null!=s.request_id).length,queuedTasks:this.taskQueue.size,pendingTasks:this.pendingTasks.size,themeSubscribers:this.themeSubscribers.size,fileCacheSize:this.fileCache.size,diffCacheSize:this.diffCache.size}}submitTask(s,t){!1===this.initialized&&this.initialize();let e=this.generateRequestId(),i=Date.now(),a=(()=>{switch(t.type){case"file":return{type:"file",id:e,request:{...t,id:e},instance:s,requestStart:i};case"diff":return{type:"diff",id:e,request:{...t,id:e},instance:s,requestStart:i}}})();this.taskQueue.set(s,a),this.queueDrain()}async resolveLanguagesAndExecuteTask(s,t,e){try{let i=e.filter(t=>!s.langs.has(t));i.length>0&&((0,z.hasResolvedLanguages)(i)?t.request.resolvedLanguages=(0,q.getResolvedLanguages)(i):t.request.resolvedLanguages=await (0,C.resolveLanguages)(i)),this.executeTask(s,t)}catch{this.cleanWorkerAndTask(s,t)}}handleWorkerMessage(s,t){let e=this.pendingTasks.get(t.id);try{if(null==e)throw F;if("error"===t.type){let s=Error(t.error);throw t.stack&&(s.stack=t.stack),"reject"in e?e.reject(s):e.instance.onHighlightError(s),s}if("instance"in e&&this.instanceRequestMap.get(e.instance)!==t.id)throw F;switch(t.requestType){case"initialize":if("initialize"!==e.type)throw Error("handleWorkerMessage: task/response dont match");this.syncCustomExtensionVersion(s,e.request),e.resolve();break;case"set-render-options":if("set-render-options"!==e.type)throw Error("handleWorkerMessage: task/response dont match");e.resolve();break;case"file":{if("file"!==e.type)throw Error("handleWorkerMessage: task/response dont match");let{result:i,options:a}=t,{instance:n,request:l}=e;this.syncCustomExtensionVersion(s,l),null!=l.file.cacheKey&&this.fileCache.set(l.file.cacheKey,{result:i,options:a}),n.onHighlightSuccess(l.file,i,a);break}case"diff":{if("diff"!==e.type)throw Error("handleWorkerMessage: task/response dont match");let{result:i,options:a}=t,{instance:n,request:l}=e;this.syncCustomExtensionVersion(s,l),null!=l.diff.cacheKey&&this.diffCache.set(l.diff.cacheKey,{result:i,options:a}),n.onHighlightSuccess(l.diff,i,a)}}}catch(s){s!==F&&console.error(s,e,t)}this.cleanWorkerAndTask(s,e),this.queueBroadcastStateChanges(),this.taskQueue.size>0&&this.queueDrain()}_queuedDrain;queueDrain(){null==this._queuedDrain&&(this._queuedDrain=Promise.resolve().then(this.drainQueue),this.queueBroadcastStateChanges())}assignWorkerToTask(s,t){t.request_id=s.id,"instance"in s&&(this.taskQueue.delete(s.instance),this.instanceRequestMap.set(s.instance,s.id)),this.pendingTasks.set(s.id,s)}cleanWorkerAndTask(s,t){s.request_id=void 0,null!=t&&("instance"in t&&this.instanceRequestMap.delete(t.instance),this.pendingTasks.delete(t.id))}executeTask(s,t){var e;for(let i of(("initialize"===(e=t.request).type||"file"===e.type||"diff"===e.type)&&this.maybeAttachCustomExtensions(s,t.request),this.assignWorkerToTask(t,s),R(t)))s.langs.add(i);try{s.worker.postMessage(t.request)}catch(e){this.cleanWorkerAndTask(s,t),console.error("Failed to post message to worker:",e),"instance"in t?t.instance.onHighlightError(e):"reject"in t&&t.reject(e)}this.queueBroadcastStateChanges()}maybeAttachCustomExtensions(s,t){if(null!=t.customExtensionsVersion)return;let e=(0,g.getCustomExtensionsVersion)();s.customExtensionsVersion>=e||(t.customExtensionsVersion=e,t.customExtensionMap=(0,g.getCustomExtensionsMap)())}syncCustomExtensionVersion(s,t){null!=t.customExtensionsVersion&&(s.customExtensionsVersion=t.customExtensionsVersion)}getAvailableWorker(s){let t;for(let e of this.workers){if(null!=e.request_id||!e.initialized)continue;if(t=e,0===s.length)break;let i=!0;for(let t of s)if(!e.langs.has(t)){i=!1;break}if(i)break}return t}generateRequestId(){return`req_${++this.nextRequestId}`}};function R(s){let t=new Set;if("initialize"===s.type||"set-render-options"===s.type)return[];switch(s.type){case"file":t.add(s.request.file.lang??(0,g.getFiletypeFromFileName)(s.request.file.name));break;case"diff":t.add(s.request.diff.lang??(0,g.getFiletypeFromFileName)(s.request.diff.name)),t.add(s.request.diff.lang??(0,g.getFiletypeFromFileName)(s.request.diff.prevName??"-"))}return t.delete("text"),Array.from(t)}let D=(0,o.createContext)(void 0),M=0;function O(s){let t=(0,o.useRef)(s);return(0,o.useInsertionEffect)(()=>void(t.current=s)),(0,o.useCallback)((...s)=>t.current(...s),[])}var L=s.i(81604),I=s.i(10495),H=s.i(87439);let U="u"<typeof window?o.useEffect:o.useLayoutEffect;function W({file:s,options:t,lineAnnotations:e,selectedLines:i,prerenderedHTML:a,metrics:n,hasGutterRenderUtility:l,hasCustomHeader:c,disableWorkerPool:h}){let r=k(),u=(0,o.useContext)(D),m=(0,o.useRef)(null),j=O(i=>{if(null!=i){if(null!=m.current)throw Error("File: An instance should not already exist when a node is created");null!=r?m.current=new I.VirtualizedFile(B({hasCustomHeader:c,hasGutterRenderUtility:l,options:t}),r,n,!h?u:void 0,!0):m.current=new L.File(B({hasCustomHeader:c,hasGutterRenderUtility:l,options:t}),!h?u:void 0,!0),m.current.hydrate({file:s,fileContainer:i,lineAnnotations:e,prerenderedHTML:a})}else{if(null==m.current)throw Error("File: A File instance should exist when unmounting");m.current.cleanUp(),m.current=null}});return U(()=>{if(null==m.current)return;let a=B({hasCustomHeader:c,hasGutterRenderUtility:l,options:t}),n=!(0,H.areOptionsEqual)(m.current.options,a);m.current.setOptions(a),m.current.render({file:s,lineAnnotations:e,forceRender:n}),void 0!==i&&m.current.setSelectedLines(i)}),{ref:j,getHoveredLine:(0,o.useCallback)(()=>m.current?.getHoveredLine(),[])}}function B({options:s,hasCustomHeader:t,hasGutterRenderUtility:e}){return e||t?{...s,renderCustomHeader:t?a:void 0,renderGutterUtility:e?a:void 0}:s}var V=s.i(1376),N=s.i(22151);function G({fileDiff:s,actions:t,renderCustomHeader:a,renderHeaderPrefix:h,renderHeaderMetadata:r,renderAnnotation:u,renderGutterUtility:o,renderHoverUtility:m,renderMergeConflictUtility:k,lineAnnotations:j,getHoveredLine:p,getInstance:v}){let d=o??m,f=a?.(s),g=h?.(s),P=r?.(s);return(0,c.jsxs)(c.Fragment,{children:[null!=f?(0,c.jsx)("div",{slot:n.CUSTOM_HEADER_SLOT_ID,children:f}):(0,c.jsxs)(c.Fragment,{children:[null!=g&&(0,c.jsx)("div",{slot:n.HEADER_PREFIX_SLOT_ID,children:g}),null!=P&&(0,c.jsx)("div",{slot:n.HEADER_METADATA_SLOT_ID,children:P})]}),null!=u&&j?.map((s,t)=>(0,c.jsx)("div",{slot:(0,l.getLineAnnotationName)(s),children:u(s)},t)),null!=t&&null!=k&&null!=v&&t.map(t=>{var e,a;let n;if(null==t)return;let l=(e=t,a=s,null!=(n=(0,N.getMergeConflictActionAnchor)(e,a))?(0,V.getMergeConflictActionSlotName)({hunkIndex:n.hunkIndex,lineIndex:n.lineIndex,conflictIndex:e.conflictIndex}):void 0);return(0,c.jsx)("div",{slot:l,style:i,children:k(t,v)},l)}),null!=d&&(0,c.jsx)("div",{slot:"gutter-utility-slot",style:e,children:d(p)})]})}var Q=s.i(18750),K=s.i(51404);let X="u"<typeof window?o.useEffect:o.useLayoutEffect;function J({fileDiff:s,options:t,lineAnnotations:e,selectedLines:i,prerenderedHTML:a,metrics:n,hasGutterRenderUtility:l,hasCustomHeader:c,disableWorkerPool:h}){let r=k(),u=(0,o.useContext)(D),m=(0,o.useRef)(null),j=O(i=>{if(null!=i){if(null!=m.current)throw Error("useFileDiffInstance: An instance should not already exist when a node is created");null!=r?m.current=new K.VirtualizedFileDiff($({hasCustomHeader:c,hasGutterRenderUtility:l,options:t}),r,n,!h?u:void 0,!0):m.current=new Q.FileDiff($({hasCustomHeader:c,hasGutterRenderUtility:l,options:t}),!h?u:void 0,!0),m.current.hydrate({fileDiff:s,fileContainer:i,lineAnnotations:e,prerenderedHTML:a})}else{if(null==m.current)throw Error("useFileDiffInstance: A FileDiff instance should exist when unmounting");m.current.cleanUp(),m.current=null}});return X(()=>{let{current:a}=m;if(null==a)return;let n=$({hasCustomHeader:c,hasGutterRenderUtility:l,options:t}),h=!(0,H.areOptionsEqual)(a.options,n);a.setOptions(n),a.render({forceRender:h,fileDiff:s,lineAnnotations:e}),void 0!==i&&a.setSelectedLines(i)}),{ref:j,getHoveredLine:(0,o.useCallback)(()=>m.current?.getHoveredLine(),[])}}function $({options:s,hasCustomHeader:t,hasGutterRenderUtility:e}){return e||t?{...s,renderCustomHeader:t?a:void 0,renderGutterUtility:e?a:void 0}:s}var Y=s.i(92458),Z=s.i(7871),ss=s.i(84745);let st="u"<typeof window?o.useEffect:o.useLayoutEffect;function se({options:s,onMergeConflictAction:t,hasConflictUtility:e,hasCustomHeader:i,hasGutterRenderUtility:n}){return{...s,onMergeConflictAction:t,hunkSeparators:s?.hunkSeparators==="custom"?a:s?.hunkSeparators,mergeConflictActionsType:e||s?.mergeConflictActionsType==="custom"?a:s?.mergeConflictActionsType,renderCustomHeader:i?a:void 0,renderGutterUtility:n?a:void 0}}s.s([],63821),s.i(63821),s.s(["File",0,function({file:s,lineAnnotations:t,selectedLines:e,options:i,metrics:a,className:l,style:u,renderAnnotation:o,renderCustomHeader:m,renderHeaderPrefix:k,renderHeaderMetadata:j,prerenderedHTML:p,renderGutterUtility:v,renderHoverUtility:d,disableWorkerPool:f=!1}){let{ref:g,getHoveredLine:P}=W({file:s,options:i,metrics:a,lineAnnotations:t,selectedLines:e,prerenderedHTML:p,hasGutterRenderUtility:null!=v||null!=d,hasCustomHeader:null!=m,disableWorkerPool:f});return(0,c.jsx)(n.DIFFS_TAG_NAME,{ref:g,className:l,style:u,children:r(h({file:s,renderAnnotation:o,renderCustomHeader:m,renderHeaderPrefix:k,renderHeaderMetadata:j,renderGutterUtility:v,renderHoverUtility:d,lineAnnotations:t,getHoveredLine:P}),p)})},"FileDiff",0,function({fileDiff:s,options:t,metrics:e,lineAnnotations:i,selectedLines:a,className:l,style:h,prerenderedHTML:u,renderAnnotation:o,renderCustomHeader:m,renderHeaderPrefix:k,renderHeaderMetadata:j,renderGutterUtility:p,renderHoverUtility:v,disableWorkerPool:d=!1}){let{ref:f,getHoveredLine:g}=J({fileDiff:s,options:t,metrics:e,lineAnnotations:i,selectedLines:a,prerenderedHTML:u,hasGutterRenderUtility:null!=p||null!=v,hasCustomHeader:null!=m,disableWorkerPool:d});return(0,c.jsx)(n.DIFFS_TAG_NAME,{ref:f,className:l,style:h,children:r(G({fileDiff:s,renderCustomHeader:m,renderHeaderPrefix:k,renderHeaderMetadata:j,renderAnnotation:o,renderGutterUtility:p,lineAnnotations:i,renderHoverUtility:v,getHoveredLine:g}),u)})},"GutterUtilitySlotStyles",0,e,"MergeConflictSlotStyles",0,i,"MultiFileDiff",0,function({oldFile:s,newFile:t,options:e,metrics:i,lineAnnotations:a,selectedLines:l,className:h,style:u,prerenderedHTML:m,renderAnnotation:k,renderCustomHeader:j,renderHeaderPrefix:p,renderHeaderMetadata:v,renderGutterUtility:d,renderHoverUtility:f,disableWorkerPool:g=!1}){let P=(0,o.useMemo)(()=>(0,Y.parseDiffFromFile)(s,t,e?.parseDiffOptions),[s,t,e?.parseDiffOptions]),{ref:y,getHoveredLine:w}=J({fileDiff:P,options:e,metrics:i,lineAnnotations:a,selectedLines:l,prerenderedHTML:m,hasGutterRenderUtility:null!=d||null!=f,hasCustomHeader:null!=j,disableWorkerPool:g});return(0,c.jsx)(n.DIFFS_TAG_NAME,{ref:y,className:h,style:u,children:r(G({fileDiff:P,renderCustomHeader:j,renderHeaderPrefix:p,renderHeaderMetadata:v,renderAnnotation:k,lineAnnotations:a,renderGutterUtility:d,renderHoverUtility:f,getHoveredLine:w}),m)})},"PatchDiff",0,function({patch:s,options:t,metrics:e,lineAnnotations:i,selectedLines:a,className:l,style:h,prerenderedHTML:u,renderAnnotation:m,renderCustomHeader:k,renderHeaderPrefix:j,renderHeaderMetadata:p,renderGutterUtility:v,renderHoverUtility:d,disableWorkerPool:f=!1}){var g;let P=(g=s,(0,o.useMemo)(()=>(0,Z.getSingularPatch)(g),[g])),{ref:y,getHoveredLine:w}=J({fileDiff:P,options:t,metrics:e,lineAnnotations:i,selectedLines:a,prerenderedHTML:u,hasGutterRenderUtility:null!=v||null!=d,hasCustomHeader:null!=k,disableWorkerPool:f});return(0,c.jsx)(n.DIFFS_TAG_NAME,{ref:y,className:l,style:h,children:r(G({fileDiff:P,renderCustomHeader:k,renderHeaderPrefix:j,renderHeaderMetadata:p,renderAnnotation:m,lineAnnotations:i,renderGutterUtility:v,renderHoverUtility:d,getHoveredLine:w}),u)})},"UnresolvedFile",0,function({file:s,options:t,lineAnnotations:e,selectedLines:i,className:a,style:l,prerenderedHTML:h,renderAnnotation:u,renderCustomHeader:m,renderHeaderPrefix:k,renderHeaderMetadata:j,renderGutterUtility:p,renderHoverUtility:v,renderMergeConflictUtility:d,disableWorkerPool:f=!1}){let{ref:g,getHoveredLine:P,fileDiff:y,actions:w,getInstance:_}=function({file:s,options:t,lineAnnotations:e,selectedLines:i,prerenderedHTML:a,hasConflictUtility:n,hasGutterRenderUtility:l,hasCustomHeader:c,disableWorkerPool:h}){let[{fileDiff:r,actions:u,markerRows:m},k]=(0,o.useState)(()=>{let{fileDiff:e,actions:i,markerRows:a}=(0,N.parseMergeConflictDiffFromFile)(s,t?.maxContextLines);return{fileDiff:e,actions:i,markerRows:a}}),j=O((s,t)=>{k(e=>{let{fileDiff:i,actions:a,markerRows:n}=t.resolveConflict(s.conflict.conflictIndex,s.resolution,e.fileDiff)??{};return null==i||null==a||null==n?e:{fileDiff:i,actions:a,markerRows:n}})}),p=(0,o.useContext)(D),v=(0,o.useRef)(null),d=O(s=>{if(null!=s){if(null!=v.current)throw Error("useUnresolvedFileInstance: An instance should not already exist when a node is created");v.current=new ss.UnresolvedFile(se({hasConflictUtility:n,hasCustomHeader:c,hasGutterRenderUtility:l,onMergeConflictAction:j,options:t}),!h?p:void 0,!0),v.current.hydrate({fileDiff:r,actions:u,markerRows:m,fileContainer:s,lineAnnotations:e,prerenderedHTML:a})}else{if(null==v.current)throw Error("useUnresolvedFileInstance: A UnresolvedFile instance should exist when unmounting");v.current.cleanUp(),v.current=null}});return st(()=>{if(null==v.current)return;let s=v.current,a=se({hasConflictUtility:n,hasCustomHeader:c,hasGutterRenderUtility:l,onMergeConflictAction:j,options:t}),h=!(0,H.areOptionsEqual)(s.options,a);s.setOptions(a),s.render({fileDiff:r,actions:u,markerRows:m,lineAnnotations:e,forceRender:h}),void 0!==i&&s.setSelectedLines(i)}),{ref:d,getHoveredLine:(0,o.useCallback)(()=>v.current?.getHoveredLine(),[]),fileDiff:r,actions:u,markerRows:m,getInstance:(0,o.useCallback)(()=>v.current??void 0,[])}}({file:s,options:t,lineAnnotations:e,selectedLines:i,prerenderedHTML:h,hasConflictUtility:null!=d,hasGutterRenderUtility:null!=p||null!=v,hasCustomHeader:null!=m,disableWorkerPool:f});return(0,c.jsx)(n.DIFFS_TAG_NAME,{ref:g,className:a,style:l,children:r(G({fileDiff:y,renderCustomHeader:m,renderHeaderPrefix:k,renderHeaderMetadata:j,renderAnnotation:u,renderGutterUtility:p,renderHoverUtility:v,lineAnnotations:e,getHoveredLine:P,actions:w,renderMergeConflictUtility:d,getInstance:_}),h)})},"Virtualizer",0,function({children:s,config:t,className:e,style:i,contentClassName:a,contentStyle:n}){let[l]=(0,o.useState)(()=>"u">typeof window?new u.Virtualizer(t):void 0),h=(0,o.useCallback)(s=>{null!=s?l?.setup(s):l?.cleanUp()},[l]);return(0,c.jsx)(m.Provider,{value:l,children:(0,c.jsx)("div",{className:e,style:i,ref:h,children:(0,c.jsx)("div",{className:a,style:n,children:s})})})},"VirtualizerContext",0,m,"WorkerPoolContext",0,D,"WorkerPoolContextProvider",0,function({children:s,poolOptions:e,highlighterOptions:i}){let[a]=(0,o.useState)(()=>{if("u">typeof window)return function({poolOptions:s,highlighterOptions:e}){return null==t&&(t=new A(s,e)).initialize(),t}({poolOptions:e,highlighterOptions:i})});return(0,o.useInsertionEffect)(()=>{if(null!=a)return M++,()=>{M--}},[a]),(0,o.useEffect)(()=>()=>{0===M&&null!=t&&(t.terminate(),t=void 0)},[]),(0,c.jsx)(D.Provider,{value:a,children:s})},"noopRender",0,a,"renderDiffChildren",0,G,"renderFileChildren",0,h,"templateRender",0,r,"useFileDiffInstance",0,J,"useFileInstance",0,W,"useStableCallback",0,O,"useVirtualizer",0,k,"useWorkerPool",0,function(){return(0,o.useContext)(D)}],15126)},1980,s=>{s.n(s.i(15126))},16690,s=>{s.v(t=>Promise.all(["static/chunks/16wpus4_srs2h.js"].map(t=>s.l(t))).then(()=>t(95360)))},74435,s=>{s.v(t=>Promise.all(["static/chunks/02fos~b~njfm..js"].map(t=>s.l(t))).then(()=>t(49740)))},96339,s=>{s.v(t=>Promise.all(["static/chunks/05l1s~ld962pk.js"].map(t=>s.l(t))).then(()=>t(48115)))},96546,s=>{s.v(t=>Promise.all(["static/chunks/0n75.p2~7t5v1.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(65711)))},60308,s=>{s.v(t=>Promise.all(["static/chunks/0p0b06cvqf0~n.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0~krbyoiki-.d.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(48707)))},8734,s=>{s.v(t=>Promise.all(["static/chunks/0xmk2iyotvd00.js"].map(t=>s.l(t))).then(()=>t(98778)))},2952,s=>{s.v(t=>Promise.all(["static/chunks/172oomukmn2sa.js"].map(t=>s.l(t))).then(()=>t(62053)))},14026,s=>{s.v(t=>Promise.all(["static/chunks/08svnlle0cj0t.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(22608)))},10042,s=>{s.v(t=>Promise.all(["static/chunks/12g_k.-rvbjk1.js"].map(t=>s.l(t))).then(()=>t(94523)))},27701,s=>{s.v(t=>Promise.all(["static/chunks/157.qd.n9ony6.js"].map(t=>s.l(t))).then(()=>t(41837)))},64940,s=>{s.v(t=>Promise.all(["static/chunks/0xobdjtj1klxw.js"].map(t=>s.l(t))).then(()=>t(30184)))},81996,s=>{s.v(t=>Promise.all(["static/chunks/0c1yfuz2avxc4.js"].map(t=>s.l(t))).then(()=>t(25004)))},85223,s=>{s.v(t=>Promise.all(["static/chunks/04nyf3-fkie_q.js","static/chunks/0dtdks2yipah5.js","static/chunks/0gi321b95lp~m.js","static/chunks/038csljc2p1iv.js"].map(t=>s.l(t))).then(()=>t(84803)))},77689,s=>{s.v(t=>Promise.all(["static/chunks/12b-eqmjo9ayl.js"].map(t=>s.l(t))).then(()=>t(1885)))},87861,s=>{s.v(t=>Promise.all(["static/chunks/0.x.t851q3sb-.js"].map(t=>s.l(t))).then(()=>t(45199)))},69047,s=>{s.v(t=>Promise.all(["static/chunks/0do1wl3mk86yh.js"].map(t=>s.l(t))).then(()=>t(35626)))},66005,s=>{s.v(t=>Promise.all(["static/chunks/0-7l~ief8vwlw.js"].map(t=>s.l(t))).then(()=>t(32400)))},64129,s=>{s.v(t=>Promise.all(["static/chunks/0_037v.gri318.js"].map(t=>s.l(t))).then(()=>t(70767)))},86785,s=>{s.v(t=>Promise.all(["static/chunks/0q37s2_7ddhtv.js"].map(t=>s.l(t))).then(()=>t(70913)))},34475,s=>{s.v(t=>Promise.all(["static/chunks/159ktk_vo94mg.js"].map(t=>s.l(t))).then(()=>t(27540)))},73197,s=>{s.v(t=>Promise.all(["static/chunks/005500kftk_2y.js"].map(t=>s.l(t))).then(()=>t(74536)))},84291,s=>{s.v(t=>Promise.all(["static/chunks/0c.zo16t-79wr.js","static/chunks/11fa99hntrezc.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(94139)))},54810,s=>{s.v(t=>Promise.all(["static/chunks/04zu2b9hzygxb.js"].map(t=>s.l(t))).then(()=>t(24527)))},15630,s=>{s.v(t=>Promise.all(["static/chunks/0x7ns8y10i7-6.js"].map(t=>s.l(t))).then(()=>t(39516)))},21406,s=>{s.v(t=>Promise.all(["static/chunks/0o_atpizgmifx.js"].map(t=>s.l(t))).then(()=>t(55582)))},28418,s=>{s.v(t=>Promise.all(["static/chunks/15.k3-r~izrsi.js"].map(t=>s.l(t))).then(()=>t(24330)))},96018,s=>{s.v(t=>Promise.all(["static/chunks/0o8l985pdln9n.js","static/chunks/0cgbt.mvs0_q8.js"].map(t=>s.l(t))).then(()=>t(44027)))},68805,s=>{s.v(t=>Promise.all(["static/chunks/0j82qoa4cewfj.js"].map(t=>s.l(t))).then(()=>t(32548)))},85670,s=>{s.v(t=>Promise.all(["static/chunks/0.r281eo71rsn.js"].map(t=>s.l(t))).then(()=>t(18663)))},50277,s=>{s.v(t=>Promise.all(["static/chunks/0p8xbwt-~a4r0.js"].map(t=>s.l(t))).then(()=>t(74228)))},8435,s=>{s.v(t=>Promise.all(["static/chunks/1181x9.0p5u_u.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(83824)))},77655,s=>{s.v(t=>Promise.all(["static/chunks/09wztauta_6mu.js"].map(t=>s.l(t))).then(()=>t(73966)))},93919,s=>{s.v(t=>Promise.all(["static/chunks/02m94syls98~q.js"].map(t=>s.l(t))).then(()=>t(35921)))},99510,s=>{s.v(t=>Promise.all(["static/chunks/0t4p40tuwladl.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(94693)))},14583,s=>{s.v(t=>Promise.all(["static/chunks/0mv85zp5r8rl5.js"].map(t=>s.l(t))).then(()=>t(94899)))},38305,s=>{s.v(t=>Promise.all(["static/chunks/00sqi-uahhvne.js"].map(t=>s.l(t))).then(()=>t(98254)))},62895,s=>{s.v(t=>Promise.all(["static/chunks/0rb-5f_xz2_4-.js","static/chunks/01odxtu7yfjnj.js","static/chunks/0x7ns8y10i7-6.js"].map(t=>s.l(t))).then(()=>t(50497)))},15822,s=>{s.v(t=>Promise.all(["static/chunks/0x7ns8y10i7-6.js","static/chunks/0l0b2iqw~vg4p.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(76426)))},56548,s=>{s.v(t=>Promise.all(["static/chunks/14~s-d~n5z95h.js"].map(t=>s.l(t))).then(()=>t(4440)))},68853,s=>{s.v(t=>Promise.all(["static/chunks/0zsnr4hvmj0.2.js"].map(t=>s.l(t))).then(()=>t(74708)))},8072,s=>{s.v(t=>Promise.all(["static/chunks/170brnj11bvpy.js"].map(t=>s.l(t))).then(()=>t(17147)))},79420,s=>{s.v(t=>Promise.all(["static/chunks/0r-an~4ezhcs8.js"].map(t=>s.l(t))).then(()=>t(17328)))},1081,s=>{s.v(t=>Promise.all(["static/chunks/0lcum.l0ijm4b.js"].map(t=>s.l(t))).then(()=>t(20123)))},32086,s=>{s.v(t=>Promise.all(["static/chunks/0v3_oe_ir77oa.js"].map(t=>s.l(t))).then(()=>t(93222)))},8814,s=>{s.v(t=>Promise.all(["static/chunks/0jof7ec748dev.js"].map(t=>s.l(t))).then(()=>t(33824)))},6010,s=>{s.v(t=>Promise.all(["static/chunks/08cdnx3j_6ki2.js"].map(t=>s.l(t))).then(()=>t(58271)))},11671,s=>{s.v(t=>Promise.all(["static/chunks/080bf48.keyld.js"].map(t=>s.l(t))).then(()=>t(53959)))},99264,s=>{s.v(t=>Promise.all(["static/chunks/0li874~37_nw..js"].map(t=>s.l(t))).then(()=>t(89460)))},64927,s=>{s.v(t=>Promise.all(["static/chunks/0ulhzx~~ps.qt.js"].map(t=>s.l(t))).then(()=>t(51327)))},86855,s=>{s.v(t=>Promise.all(["static/chunks/0fvaxs3neloe4.js"].map(t=>s.l(t))).then(()=>t(12522)))},55357,s=>{s.v(t=>Promise.all(["static/chunks/05ugqa-122eak.js"].map(t=>s.l(t))).then(()=>t(17285)))},40814,s=>{s.v(t=>Promise.all(["static/chunks/0-6q~1z8vjjo..js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/038csljc2p1iv.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(64704)))},34593,s=>{s.v(t=>Promise.all(["static/chunks/109vrar6gprjo.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(5100)))},80402,s=>{s.v(t=>Promise.all(["static/chunks/0~sx4iez3modi.js","static/chunks/0x7ns8y10i7-6.js"].map(t=>s.l(t))).then(()=>t(9757)))},59962,s=>{s.v(t=>Promise.all(["static/chunks/0s199ba3rmp9~.js"].map(t=>s.l(t))).then(()=>t(63571)))},55306,s=>{s.v(t=>Promise.all(["static/chunks/142wiu8kfk4xf.js","static/chunks/0x7ns8y10i7-6.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/14o3t5fm_nu5r.js","static/chunks/0vikec.2e4juv.js","static/chunks/0gi321b95lp~m.js","static/chunks/12cuoycj-4wmc.js","static/chunks/0dtdks2yipah5.js","static/chunks/038csljc2p1iv.js","static/chunks/01odxtu7yfjnj.js"].map(t=>s.l(t))).then(()=>t(24609)))},79291,s=>{s.v(t=>Promise.all(["static/chunks/0i_i6j7lf~v4d.js"].map(t=>s.l(t))).then(()=>t(29263)))},56334,s=>{s.v(t=>Promise.all(["static/chunks/0jxgg50c4544j.js"].map(t=>s.l(t))).then(()=>t(70013)))},55953,s=>{s.v(t=>Promise.all(["static/chunks/0lhzqw~nvoyww.js"].map(t=>s.l(t))).then(()=>t(74265)))},72286,s=>{s.v(t=>Promise.all(["static/chunks/0pmzla~xv47u1.js"].map(t=>s.l(t))).then(()=>t(46027)))},9599,s=>{s.v(t=>Promise.all(["static/chunks/06xm79f~ft.9-.js","static/chunks/01yj_umbfr~o5.js"].map(t=>s.l(t))).then(()=>t(74293)))},17187,s=>{s.v(t=>Promise.all(["static/chunks/01yj_umbfr~o5.js"].map(t=>s.l(t))).then(()=>t(63400)))},6583,s=>{s.v(t=>Promise.all(["static/chunks/0wv089bwnz6yu.js"].map(t=>s.l(t))).then(()=>t(76577)))},350,s=>{s.v(t=>Promise.all(["static/chunks/09wj0fd.7gmhy.js"].map(t=>s.l(t))).then(()=>t(23068)))},18592,s=>{s.v(t=>Promise.all(["static/chunks/0kw6rfh.hm5fu.js"].map(t=>s.l(t))).then(()=>t(29659)))},64292,s=>{s.v(t=>Promise.all(["static/chunks/0s14jwv6z3mui.js"].map(t=>s.l(t))).then(()=>t(61451)))},51227,s=>{s.v(t=>Promise.all(["static/chunks/0lmrdsaogcbqi.js"].map(t=>s.l(t))).then(()=>t(69943)))},81674,s=>{s.v(t=>Promise.all(["static/chunks/15nlibxn18.4b.js"].map(t=>s.l(t))).then(()=>t(43691)))},65886,s=>{s.v(t=>Promise.all(["static/chunks/0u1iintjqvkkp.js"].map(t=>s.l(t))).then(()=>t(40067)))},43635,s=>{s.v(t=>Promise.all(["static/chunks/12ymtkxexuhms.js"].map(t=>s.l(t))).then(()=>t(18337)))},69752,s=>{s.v(t=>Promise.all(["static/chunks/0t17qg518d-5b.js"].map(t=>s.l(t))).then(()=>t(98277)))},20210,s=>{s.v(t=>Promise.all(["static/chunks/14ri405j3wzhd.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js","static/chunks/038csljc2p1iv.js"].map(t=>s.l(t))).then(()=>t(32235)))},52204,s=>{s.v(t=>Promise.all(["static/chunks/05jamkp.5mg0p.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/038csljc2p1iv.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(5817)))},15932,s=>{s.v(t=>Promise.all(["static/chunks/0bqd2teg64~oo.js","static/chunks/0x7ns8y10i7-6.js"].map(t=>s.l(t))).then(()=>t(38102)))},46517,s=>{s.v(t=>Promise.all(["static/chunks/070acyqpo2-6o.js"].map(t=>s.l(t))).then(()=>t(89319)))},34810,s=>{s.v(t=>Promise.all(["static/chunks/0hx0fnemn~bna.js"].map(t=>s.l(t))).then(()=>t(66502)))},18233,s=>{s.v(t=>Promise.all(["static/chunks/04apr7eqo9adu.js"].map(t=>s.l(t))).then(()=>t(2077)))},27502,s=>{s.v(t=>Promise.all(["static/chunks/0s0d-_ldclsxp.js","static/chunks/12cuoycj-4wmc.js","static/chunks/038csljc2p1iv.js","static/chunks/0dtdks2yipah5.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(64011)))},83131,s=>{s.v(t=>Promise.all(["static/chunks/06ukujtjt2yoe.js"].map(t=>s.l(t))).then(()=>t(94796)))},66363,s=>{s.v(t=>Promise.all(["static/chunks/0vo6ouy1n6pig.js","static/chunks/0d1_zd_iviw_h.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(16128)))},36482,s=>{s.v(t=>Promise.all(["static/chunks/0hf2xiq9j2.64.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(23141)))},19104,s=>{s.v(t=>Promise.all(["static/chunks/0avesy0.ssowg.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(92708)))},82274,s=>{s.v(t=>Promise.all(["static/chunks/0drklyayuvw~s.js"].map(t=>s.l(t))).then(()=>t(75491)))},43593,s=>{s.v(t=>Promise.all(["static/chunks/0jjcnbq-e0eua.js"].map(t=>s.l(t))).then(()=>t(62002)))},92582,s=>{s.v(t=>Promise.all(["static/chunks/0n-ieg5c1xf~i.js"].map(t=>s.l(t))).then(()=>t(40781)))},32395,s=>{s.v(t=>Promise.all(["static/chunks/12y-kk2uze0bq.js"].map(t=>s.l(t))).then(()=>t(9979)))},36975,s=>{s.v(t=>Promise.all(["static/chunks/0i.~z16kxgsqt.js"].map(t=>s.l(t))).then(()=>t(63498)))},15475,s=>{s.v(t=>Promise.all(["static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(46619)))},36812,s=>{s.v(t=>Promise.all(["static/chunks/0-v42~rno.0yn.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(62407)))},22332,s=>{s.v(t=>Promise.all(["static/chunks/01u1p0m9a3t59.js","static/chunks/038csljc2p1iv.js","static/chunks/0vikec.2e4juv.js","static/chunks/0dtdks2yipah5.js","static/chunks/0gi321b95lp~m.js","static/chunks/12cuoycj-4wmc.js"].map(t=>s.l(t))).then(()=>t(79394)))},77996,s=>{s.v(t=>Promise.all(["static/chunks/1263n_544j3gj.js","static/chunks/0dtdks2yipah5.js","static/chunks/12cuoycj-4wmc.js","static/chunks/0gi321b95lp~m.js","static/chunks/038csljc2p1iv.js"].map(t=>s.l(t))).then(()=>t(46754)))},12671,s=>{s.v(t=>Promise.all(["static/chunks/0ah_~.~t9fx~a.js"].map(t=>s.l(t))).then(()=>t(88619)))},98975,s=>{s.v(t=>Promise.all(["static/chunks/09b-h3xuix4_h.js"].map(t=>s.l(t))).then(()=>t(94666)))},21794,s=>{s.v(t=>Promise.all(["static/chunks/01cpko09ronel.js"].map(t=>s.l(t))).then(()=>t(4077)))},12237,s=>{s.v(t=>Promise.all(["static/chunks/0awnsavwbe3h~.js"].map(t=>s.l(t))).then(()=>t(51070)))},28056,s=>{s.v(t=>Promise.all(["static/chunks/0wxbvzvya.r2d.js"].map(t=>s.l(t))).then(()=>t(88943)))},92799,s=>{s.v(t=>Promise.all(["static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(22952)))},535,s=>{s.v(t=>Promise.all(["static/chunks/0jrdgnpowz7-e.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(76627)))},99868,s=>{s.v(t=>Promise.all(["static/chunks/0o-~p97twuzsp.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(13300)))},92658,s=>{s.v(t=>Promise.all(["static/chunks/0nh6xl5nmwk8y.js"].map(t=>s.l(t))).then(()=>t(66695)))},45390,s=>{s.v(t=>Promise.all(["static/chunks/02uoc-z~-zkhc.js"].map(t=>s.l(t))).then(()=>t(48742)))},59901,s=>{s.v(t=>Promise.all(["static/chunks/0avd63t~w65.o.js"].map(t=>s.l(t))).then(()=>t(75400)))},44018,s=>{s.v(t=>Promise.all(["static/chunks/0uqcjksdzz1.g.js"].map(t=>s.l(t))).then(()=>t(80021)))},32597,s=>{s.v(t=>Promise.all(["static/chunks/0~6.a82-_l0hi.js"].map(t=>s.l(t))).then(()=>t(45900)))},86493,s=>{s.v(t=>Promise.all(["static/chunks/0sk9dspk-lf_n.js"].map(t=>s.l(t))).then(()=>t(98160)))},87672,s=>{s.v(t=>Promise.all(["static/chunks/12cuoycj-4wmc.js"].map(t=>s.l(t))).then(()=>t(23760)))},48045,s=>{s.v(t=>Promise.all(["static/chunks/0cgbt.mvs0_q8.js","static/chunks/0x7ns8y10i7-6.js","static/chunks/01odxtu7yfjnj.js","static/chunks/0gi321b95lp~m.js","static/chunks/0r77pq_ev~xbf.js"].map(t=>s.l(t))).then(()=>t(34812)))},4538,s=>{s.v(t=>Promise.all(["static/chunks/0p6cv-isja8l~.js","static/chunks/0cgbt.mvs0_q8.js","static/chunks/038csljc2p1iv.js","static/chunks/0vikec.2e4juv.js","static/chunks/0x7ns8y10i7-6.js","static/chunks/0dtdks2yipah5.js","static/chunks/0gi321b95lp~m.js","static/chunks/01odxtu7yfjnj.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/12cuoycj-4wmc.js","static/chunks/14o3t5fm_nu5r.js"].map(t=>s.l(t))).then(()=>t(98122)))},22051,s=>{s.v(t=>Promise.all(["static/chunks/01qy58-cp3bl4.js"].map(t=>s.l(t))).then(()=>t(26485)))},78014,s=>{s.v(t=>Promise.all(["static/chunks/0znjcuqju3t0u.js"].map(t=>s.l(t))).then(()=>t(76175)))},11938,s=>{s.v(t=>Promise.all(["static/chunks/0-zv7545l~nj_.js"].map(t=>s.l(t))).then(()=>t(51031)))},82697,s=>{s.v(t=>Promise.all(["static/chunks/0burxwixpilt8.js","static/chunks/0y.2lnn-wqntk.js"].map(t=>s.l(t))).then(()=>t(6106)))},6774,s=>{s.v(t=>Promise.all(["static/chunks/0hrl0ni1eg3hl.js"].map(t=>s.l(t))).then(()=>t(48052)))},57069,s=>{s.v(t=>Promise.all(["static/chunks/0b629i~cecxvv.js"].map(t=>s.l(t))).then(()=>t(15754)))},33954,s=>{s.v(t=>Promise.all(["static/chunks/0wu5.-ix.d7uw.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(11335)))},69445,s=>{s.v(t=>Promise.all(["static/chunks/0s6sl8w76oqjd.js"].map(t=>s.l(t))).then(()=>t(33218)))},32210,s=>{s.v(t=>Promise.all(["static/chunks/00.-fx~so_jqp.js"].map(t=>s.l(t))).then(()=>t(27844)))},17136,s=>{s.v(t=>Promise.all(["static/chunks/0._u6ukk4y~7b.js"].map(t=>s.l(t))).then(()=>t(99412)))},47287,s=>{s.v(t=>Promise.all(["static/chunks/0.a9k-nrp1fib.js","static/chunks/0x7ns8y10i7-6.js"].map(t=>s.l(t))).then(()=>t(50510)))},98173,s=>{s.v(t=>Promise.all(["static/chunks/05m5tor4oput8.js"].map(t=>s.l(t))).then(()=>t(72302)))},18877,s=>{s.v(t=>Promise.all(["static/chunks/10.kzyc_pkoyb.js"].map(t=>s.l(t))).then(()=>t(77217)))},59142,s=>{s.v(t=>Promise.all(["static/chunks/0.swpbqovu1-s.js"].map(t=>s.l(t))).then(()=>t(74754)))},44609,s=>{s.v(t=>Promise.all(["static/chunks/0b629i~cecxvv.js","static/chunks/038csljc2p1iv.js","static/chunks/039wlcb~.de~t.js"].map(t=>s.l(t))).then(()=>t(76277)))},23845,s=>{s.v(t=>Promise.all(["static/chunks/0t8ghotqoe~.5.js"].map(t=>s.l(t))).then(()=>t(44344)))},67535,s=>{s.v(t=>Promise.all(["static/chunks/0at_9zbgn1m5u.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(35473)))},59189,s=>{s.v(t=>Promise.all(["static/chunks/0oiyv5ylwfoka.js"].map(t=>s.l(t))).then(()=>t(57397)))},57619,s=>{s.v(t=>Promise.all(["static/chunks/0r_1kyh9_7snc.js"].map(t=>s.l(t))).then(()=>t(68643)))},1626,s=>{s.v(t=>Promise.all(["static/chunks/10kf2q17t--x_.js"].map(t=>s.l(t))).then(()=>t(21142)))},24176,s=>{s.v(t=>Promise.all(["static/chunks/0qv~klp1~jgbc.js"].map(t=>s.l(t))).then(()=>t(47044)))},5353,s=>{s.v(t=>Promise.all(["static/chunks/00opk.v94b8d0.js"].map(t=>s.l(t))).then(()=>t(18227)))},47969,s=>{s.v(t=>Promise.all(["static/chunks/0_52st2ao2~la.js"].map(t=>s.l(t))).then(()=>t(90800)))},55902,s=>{s.v(t=>Promise.all(["static/chunks/0fiebc.pz7lz-.js"].map(t=>s.l(t))).then(()=>t(31026)))},57638,s=>{s.v(t=>Promise.all(["static/chunks/0o~9ep7o0-t4w.js"].map(t=>s.l(t))).then(()=>t(936)))},72194,s=>{s.v(t=>Promise.all(["static/chunks/0suco6wz_6yd7.js"].map(t=>s.l(t))).then(()=>t(74353)))},47723,s=>{s.v(t=>Promise.all(["static/chunks/0_s91ux778pz~.js","static/chunks/0x7ns8y10i7-6.js"].map(t=>s.l(t))).then(()=>t(37476)))},46820,s=>{s.v(t=>Promise.all(["static/chunks/0x7ns8y10i7-6.js","static/chunks/066_8jdhkzg.9.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(81320)))},65220,s=>{s.v(t=>Promise.all(["static/chunks/0fhuj2_md3mwd.js"].map(t=>s.l(t))).then(()=>t(75253)))},21908,s=>{s.v(t=>Promise.all(["static/chunks/05ajx2~cui4a8.js"].map(t=>s.l(t))).then(()=>t(65932)))},98543,s=>{s.v(t=>Promise.all(["static/chunks/0uypykmy1ca~8.js"].map(t=>s.l(t))).then(()=>t(73456)))},53213,s=>{s.v(t=>Promise.all(["static/chunks/0i-7satpv5t_9.js"].map(t=>s.l(t))).then(()=>t(73095)))},57016,s=>{s.v(t=>Promise.all(["static/chunks/04_8o9p_5mqbc.js"].map(t=>s.l(t))).then(()=>t(90804)))},144,s=>{s.v(t=>Promise.all(["static/chunks/11f3.q94qn6ml.js"].map(t=>s.l(t))).then(()=>t(34527)))},89188,s=>{s.v(t=>Promise.all(["static/chunks/0k8squ0cemq16.js"].map(t=>s.l(t))).then(()=>t(92052)))},94584,s=>{s.v(t=>Promise.all(["static/chunks/0guyja4bp405y.js"].map(t=>s.l(t))).then(()=>t(86104)))},90087,s=>{s.v(t=>Promise.all(["static/chunks/0m3uozyohiqsg.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(62833)))},53525,s=>{s.v(t=>Promise.all(["static/chunks/11ui.th4ez6d2.js","static/chunks/0w6y2desvv-d5.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(35865)))},6695,s=>{s.v(t=>Promise.all(["static/chunks/0c49d~xxp1hj9.js"].map(t=>s.l(t))).then(()=>t(28594)))},85641,s=>{s.v(t=>Promise.all(["static/chunks/0akd.s7cjgxl0.js"].map(t=>s.l(t))).then(()=>t(62570)))},15520,s=>{s.v(t=>Promise.all(["static/chunks/0igt5mnpzmvx5.js"].map(t=>s.l(t))).then(()=>t(12516)))},79736,s=>{s.v(t=>Promise.all(["static/chunks/13-~ruiz5lv80.js"].map(t=>s.l(t))).then(()=>t(93940)))},44743,s=>{s.v(t=>Promise.all(["static/chunks/0f31ud37nf04a.js"].map(t=>s.l(t))).then(()=>t(78163)))},69901,s=>{s.v(t=>Promise.all(["static/chunks/07p8r_t06~3wp.js"].map(t=>s.l(t))).then(()=>t(93157)))},49765,s=>{s.v(t=>Promise.all(["static/chunks/09j7w5f8ys~oi.js"].map(t=>s.l(t))).then(()=>t(65260)))},25840,s=>{s.v(t=>Promise.all(["static/chunks/09uj3rcvxx0z5.js"].map(t=>s.l(t))).then(()=>t(20602)))},78110,s=>{s.v(t=>Promise.all(["static/chunks/15_3zgh95bid7.js"].map(t=>s.l(t))).then(()=>t(21139)))},10002,s=>{s.v(t=>Promise.all(["static/chunks/08w_5dibuiib_.js"].map(t=>s.l(t))).then(()=>t(36865)))},53456,s=>{s.v(t=>Promise.all(["static/chunks/0ugivay2rgim6.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(87420)))},28116,s=>{s.v(t=>Promise.all(["static/chunks/16h7mfbvzn6zr.js"].map(t=>s.l(t))).then(()=>t(3348)))},62792,s=>{s.v(t=>Promise.all(["static/chunks/17uesrrkyz1ta.js"].map(t=>s.l(t))).then(()=>t(22362)))},48436,s=>{s.v(t=>Promise.all(["static/chunks/0cgbt.mvs0_q8.js"].map(t=>s.l(t))).then(()=>t(65525)))},85774,s=>{s.v(t=>Promise.all(["static/chunks/16sazc17ae.e1.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(79978)))},22682,s=>{s.v(t=>Promise.all(["static/chunks/00ap3e0crihlu.js"].map(t=>s.l(t))).then(()=>t(77438)))},29273,s=>{s.v(t=>Promise.all(["static/chunks/154aqokqeh.k9.js"].map(t=>s.l(t))).then(()=>t(12899)))},17431,s=>{s.v(t=>Promise.all(["static/chunks/05xz2bewkv8wx.js"].map(t=>s.l(t))).then(()=>t(26182)))},27184,s=>{s.v(t=>Promise.all(["static/chunks/0gcgxusc6_r4o.js"].map(t=>s.l(t))).then(()=>t(69590)))},2999,s=>{s.v(t=>Promise.all(["static/chunks/03937j5zckqfy.js"].map(t=>s.l(t))).then(()=>t(89508)))},22510,s=>{s.v(t=>Promise.all(["static/chunks/0hifn-~hhv-kv.js","static/chunks/14~s-d~n5z95h.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(92808)))},92914,s=>{s.v(t=>Promise.all(["static/chunks/0djdk~3qr0_7y.js"].map(t=>s.l(t))).then(()=>t(70093)))},64980,s=>{s.v(t=>Promise.all(["static/chunks/10cvpruvohk8j.js"].map(t=>s.l(t))).then(()=>t(21610)))},62249,s=>{s.v(t=>Promise.all(["static/chunks/0b1do8mj3aw7a.js"].map(t=>s.l(t))).then(()=>t(92310)))},19686,s=>{s.v(t=>Promise.all(["static/chunks/0ey.bgyk9mbj6.js"].map(t=>s.l(t))).then(()=>t(13929)))},23169,s=>{s.v(t=>Promise.all(["static/chunks/0etqsz.iblzw6.js"].map(t=>s.l(t))).then(()=>t(95422)))},66973,s=>{s.v(t=>Promise.all(["static/chunks/0bb73s8uhe~2n.js"].map(t=>s.l(t))).then(()=>t(81082)))},80357,s=>{s.v(t=>Promise.all(["static/chunks/0y26ski3cfkes.js","static/chunks/0cgbt.mvs0_q8.js","static/chunks/0x7ns8y10i7-6.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0vikec.2e4juv.js","static/chunks/0gi321b95lp~m.js","static/chunks/01odxtu7yfjnj.js","static/chunks/0dtdks2yipah5.js","static/chunks/038csljc2p1iv.js","static/chunks/12cuoycj-4wmc.js","static/chunks/14o3t5fm_nu5r.js"].map(t=>s.l(t))).then(()=>t(28855)))},60137,s=>{s.v(t=>Promise.all(["static/chunks/0x7ns8y10i7-6.js","static/chunks/0vikec.2e4juv.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/14o3t5fm_nu5r.js","static/chunks/01odxtu7yfjnj.js","static/chunks/12cuoycj-4wmc.js","static/chunks/0dtdks2yipah5.js","static/chunks/0gi321b95lp~m.js","static/chunks/038csljc2p1iv.js"].map(t=>s.l(t))).then(()=>t(59585)))},25837,s=>{s.v(t=>Promise.all(["static/chunks/16vtsqvax-.yu.js"].map(t=>s.l(t))).then(()=>t(98542)))},59154,s=>{s.v(t=>Promise.all(["static/chunks/0pdxx~tuabwct.js"].map(t=>s.l(t))).then(()=>t(72283)))},28160,s=>{s.v(t=>Promise.all(["static/chunks/0mfw6loyh~xxc.js"].map(t=>s.l(t))).then(()=>t(28978)))},79226,s=>{s.v(t=>Promise.all(["static/chunks/04~g7o9dd10-n.js"].map(t=>s.l(t))).then(()=>t(51908)))},95554,s=>{s.v(t=>Promise.all(["static/chunks/0rwli08a4t2tm.js"].map(t=>s.l(t))).then(()=>t(43805)))},56229,s=>{s.v(t=>Promise.all(["static/chunks/0nd~h5~bu_zln.js"].map(t=>s.l(t))).then(()=>t(55496)))},57294,s=>{s.v(t=>Promise.all(["static/chunks/0lk1q8mw8x16f.js"].map(t=>s.l(t))).then(()=>t(63343)))},87646,s=>{s.v(t=>Promise.all(["static/chunks/0lgd0cy674a2-.js"].map(t=>s.l(t))).then(()=>t(70313)))},77876,s=>{s.v(t=>Promise.all(["static/chunks/0k8s2pr7fw5gg.js"].map(t=>s.l(t))).then(()=>t(83808)))},2789,s=>{s.v(t=>Promise.all(["static/chunks/13s61ahliua6k.js"].map(t=>s.l(t))).then(()=>t(13367)))},5404,s=>{s.v(t=>Promise.all(["static/chunks/06slukewkj03e.js"].map(t=>s.l(t))).then(()=>t(3988)))},64050,s=>{s.v(t=>Promise.all(["static/chunks/16xgn98vzi~qj.js"].map(t=>s.l(t))).then(()=>t(80464)))},23766,s=>{s.v(t=>Promise.all(["static/chunks/0y9r~_he08kvg.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(34684)))},71095,s=>{s.v(t=>Promise.all(["static/chunks/0pw5n~ek~e2zj.js"].map(t=>s.l(t))).then(()=>t(59514)))},13125,s=>{s.v(t=>Promise.all(["static/chunks/05~grqee8er3~.js"].map(t=>s.l(t))).then(()=>t(35493)))},47760,s=>{s.v(t=>Promise.all(["static/chunks/0vo6ouy1n6pig.js"].map(t=>s.l(t))).then(()=>t(88587)))},25380,s=>{s.v(t=>Promise.all(["static/chunks/09x3ehov0-zke.js"].map(t=>s.l(t))).then(()=>t(43156)))},27772,s=>{s.v(t=>Promise.all(["static/chunks/0wkpw.el1paai.js"].map(t=>s.l(t))).then(()=>t(86144)))},31592,s=>{s.v(t=>Promise.all(["static/chunks/0vabbaus5.6zv.js"].map(t=>s.l(t))).then(()=>t(68096)))},42509,s=>{s.v(t=>Promise.all(["static/chunks/03-3bzc707_v~.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(9240)))},9551,s=>{s.v(t=>Promise.all(["static/chunks/0p5yq5~6q_g68.js","static/chunks/0gi321b95lp~m.js","static/chunks/038csljc2p1iv.js"].map(t=>s.l(t))).then(()=>t(61218)))},74099,s=>{s.v(t=>Promise.all(["static/chunks/11l2amf3-jsn0.js"].map(t=>s.l(t))).then(()=>t(42)))},1250,s=>{s.v(t=>Promise.all(["static/chunks/0.ccwgu_~j12s.js"].map(t=>s.l(t))).then(()=>t(21955)))},44475,s=>{s.v(t=>Promise.all(["static/chunks/0knsb~0twkcym.js"].map(t=>s.l(t))).then(()=>t(75193)))},538,s=>{s.v(t=>Promise.all(["static/chunks/04vl7r9~t.zuw.js"].map(t=>s.l(t))).then(()=>t(5623)))},36651,s=>{s.v(t=>Promise.all(["static/chunks/0gcn4rv1db9v2.js"].map(t=>s.l(t))).then(()=>t(5927)))},9948,s=>{s.v(t=>Promise.all(["static/chunks/1123vps993tly.js"].map(t=>s.l(t))).then(()=>t(96338)))},40336,s=>{s.v(t=>Promise.all(["static/chunks/0um8reh4y0~rl.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(61138)))},8436,s=>{s.v(t=>Promise.all(["static/chunks/0uvsf82is3a1c.js"].map(t=>s.l(t))).then(()=>t(18633)))},55636,s=>{s.v(t=>Promise.all(["static/chunks/0burxwixpilt8.js"].map(t=>s.l(t))).then(()=>t(7395)))},51979,s=>{s.v(t=>Promise.all(["static/chunks/08fyadhjshhz1.js"].map(t=>s.l(t))).then(()=>t(40899)))},65678,s=>{s.v(t=>Promise.all(["static/chunks/0x7ns8y10i7-6.js","static/chunks/07l0sc_1sf3r8.js","static/chunks/038csljc2p1iv.js","static/chunks/0gi321b95lp~m.js","static/chunks/0jv_e-n-j5e_p.js"].map(t=>s.l(t))).then(()=>t(52763)))},41727,s=>{s.v(t=>Promise.all(["static/chunks/0r6btfw...a50.js"].map(t=>s.l(t))).then(()=>t(26893)))},57754,s=>{s.v(t=>Promise.all(["static/chunks/0dtdks2yipah5.js"].map(t=>s.l(t))).then(()=>t(78270)))},70454,s=>{s.v(t=>Promise.all(["static/chunks/0469cr.ku-m.1.js"].map(t=>s.l(t))).then(()=>t(91579)))},24586,s=>{s.v(t=>Promise.all(["static/chunks/05ltz36ad0cro.js","static/chunks/0cgbt.mvs0_q8.js","static/chunks/0x7ns8y10i7-6.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0vikec.2e4juv.js","static/chunks/0w6y2desvv-d5.js","static/chunks/01odxtu7yfjnj.js","static/chunks/038csljc2p1iv.js","static/chunks/0gi321b95lp~m.js","static/chunks/0dtdks2yipah5.js","static/chunks/14o3t5fm_nu5r.js","static/chunks/12cuoycj-4wmc.js"].map(t=>s.l(t))).then(()=>t(59443)))},48460,s=>{s.v(t=>Promise.all(["static/chunks/038csljc2p1iv.js"].map(t=>s.l(t))).then(()=>t(3737)))},44538,s=>{s.v(t=>Promise.all(["static/chunks/0p5xgy55io8ju.js"].map(t=>s.l(t))).then(()=>t(10648)))},63321,s=>{s.v(t=>Promise.all(["static/chunks/0yefpik_~3-l_.js"].map(t=>s.l(t))).then(()=>t(17620)))},43837,s=>{s.v(t=>Promise.all(["static/chunks/09878rjpz18k-.js"].map(t=>s.l(t))).then(()=>t(76205)))},30536,s=>{s.v(t=>Promise.all(["static/chunks/049sw8rw.4icb.js"].map(t=>s.l(t))).then(()=>t(18661)))},85051,s=>{s.v(t=>Promise.all(["static/chunks/02p9s-r2in7_c.js"].map(t=>s.l(t))).then(()=>t(38702)))},86017,s=>{s.v(t=>Promise.all(["static/chunks/0dh56a82.i~9c.js"].map(t=>s.l(t))).then(()=>t(88430)))},95694,s=>{s.v(t=>Promise.all(["static/chunks/0-l_egd1a7oma.js"].map(t=>s.l(t))).then(()=>t(62973)))},4547,s=>{s.v(t=>Promise.all(["static/chunks/0hcxbpqnn.0fz.js"].map(t=>s.l(t))).then(()=>t(44445)))},34329,s=>{s.v(t=>Promise.all(["static/chunks/0z-eh0aq~xg4p.js","static/chunks/0jv_e-n-j5e_p.js","static/chunks/0gi321b95lp~m.js","static/chunks/038csljc2p1iv.js"].map(t=>s.l(t))).then(()=>t(32041)))},60550,s=>{s.v(t=>Promise.all(["static/chunks/0jf5ciyy~unj_.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(38022)))},109,s=>{s.v(t=>Promise.all(["static/chunks/0b629i~cecxvv.js","static/chunks/11gthfbri343q.js","static/chunks/00~k_02u8aq0y.js","static/chunks/0gi321b95lp~m.js"].map(t=>s.l(t))).then(()=>t(34365)))},34235,s=>{s.v(t=>Promise.all(["static/chunks/15d_kgg2d-gk5.js"].map(t=>s.l(t))).then(()=>t(88188)))},79931,s=>{s.v(t=>Promise.all(["static/chunks/0777.wdkhq4ki.js"].map(t=>s.l(t))).then(()=>t(97855)))},38463,s=>{s.v(t=>Promise.all(["static/chunks/0f6355h2f.5z2.js"].map(t=>s.l(t))).then(()=>t(86105)))},64547,s=>{s.v(t=>Promise.all(["static/chunks/10hyatzkqked9.js"].map(t=>s.l(t))).then(()=>t(95255)))},74196,s=>{s.v(t=>Promise.all(["static/chunks/17ff5npy1gyal.js"].map(t=>s.l(t))).then(()=>t(86142)))},26245,s=>{s.v(t=>Promise.all(["static/chunks/0--_zsmkfvbdb.js"].map(t=>s.l(t))).then(()=>t(29634)))},98654,s=>{s.v(t=>Promise.all(["static/chunks/16zly25zh5l9g.js"].map(t=>s.l(t))).then(()=>t(21147)))},60115,s=>{s.v(t=>Promise.all(["static/chunks/0iq227~co7b77.js"].map(t=>s.l(t))).then(()=>t(44703)))},56841,s=>{s.v(t=>Promise.all(["static/chunks/0w1p01rlhx3ag.js"].map(t=>s.l(t))).then(()=>t(33176)))},91412,s=>{s.v(t=>Promise.all(["static/chunks/00uw80ls1k.ib.js"].map(t=>s.l(t))).then(()=>t(20584)))},41270,s=>{s.v(t=>Promise.all(["static/chunks/0o_g_u_q~-pyl.js"].map(t=>s.l(t))).then(()=>t(75022)))},32344,s=>{s.v(t=>Promise.all(["static/chunks/0budy7bttgkge.js"].map(t=>s.l(t))).then(()=>t(42400)))},52913,s=>{s.v(t=>Promise.all(["static/chunks/1807nps95k_q8.js"].map(t=>s.l(t))).then(()=>t(2714)))},95208,s=>{s.v(t=>Promise.all(["static/chunks/169lw74h4pwlo.js"].map(t=>s.l(t))).then(()=>t(40379)))},52844,s=>{s.v(t=>Promise.all(["static/chunks/09-ssl6miioi~.js"].map(t=>s.l(t))).then(()=>t(48975)))},76488,s=>{s.v(t=>Promise.all(["static/chunks/0oyu_2qstzqx..js"].map(t=>s.l(t))).then(()=>t(38096)))},36002,s=>{s.v(t=>Promise.all(["static/chunks/0s-z-lssg3mkz.js"].map(t=>s.l(t))).then(()=>t(40767)))},72934,s=>{s.v(t=>Promise.all(["static/chunks/0g~fb9uvrvg8p.js"].map(t=>s.l(t))).then(()=>t(16129)))},31036,s=>{s.v(t=>Promise.all(["static/chunks/0b4r5vsa41xwq.js"].map(t=>s.l(t))).then(()=>t(88870)))},23803,s=>{s.v(t=>Promise.all(["static/chunks/0c~dmdbf504e5.js"].map(t=>s.l(t))).then(()=>t(9753)))},86330,s=>{s.v(t=>Promise.all(["static/chunks/0vz7ywb0_ogms.js"].map(t=>s.l(t))).then(()=>t(11191)))},81001,s=>{s.v(t=>Promise.all(["static/chunks/02o8ee51zggh2.js"].map(t=>s.l(t))).then(()=>t(97569)))},95735,s=>{s.v(t=>Promise.all(["static/chunks/0mta_n76jh1d9.js"].map(t=>s.l(t))).then(()=>t(4007)))},2100,s=>{s.v(t=>Promise.all(["static/chunks/01cqf.wjioz0o.js"].map(t=>s.l(t))).then(()=>t(99637)))},58172,s=>{s.v(t=>Promise.all(["static/chunks/0_7-q_3yrpyhi.js"].map(t=>s.l(t))).then(()=>t(24395)))},75274,s=>{s.v(t=>Promise.all(["static/chunks/0us.kh37rkhvi.js"].map(t=>s.l(t))).then(()=>t(60511)))},57811,s=>{s.v(t=>Promise.all(["static/chunks/0vyrdj2zo~a9t.js"].map(t=>s.l(t))).then(()=>t(5755)))},14214,s=>{s.v(t=>Promise.all(["static/chunks/0a3fxcrvp4ijs.js"].map(t=>s.l(t))).then(()=>t(15758)))},48353,s=>{s.v(t=>Promise.all(["static/chunks/0ngt1ro9_jmgv.js"].map(t=>s.l(t))).then(()=>t(65094)))},40920,s=>{s.v(t=>Promise.all(["static/chunks/0w6v3pxn0096j.js"].map(t=>s.l(t))).then(()=>t(63976)))},79755,s=>{s.v(t=>Promise.all(["static/chunks/0cnewhewq8odq.js"].map(t=>s.l(t))).then(()=>t(25522)))},5550,s=>{s.v(t=>Promise.all(["static/chunks/03wu~nl8z1x1o.js"].map(t=>s.l(t))).then(()=>t(7419)))},60233,s=>{s.v(t=>Promise.all(["static/chunks/09frt_x9idhpp.js"].map(t=>s.l(t))).then(()=>t(97673)))},80721,s=>{s.v(t=>Promise.all(["static/chunks/180~4j94u_jdx.js"].map(t=>s.l(t))).then(()=>t(60616)))},27266,s=>{s.v(t=>Promise.all(["static/chunks/0w9tszsucsf_s.js"].map(t=>s.l(t))).then(()=>t(79819)))},31214,s=>{s.v(t=>Promise.all(["static/chunks/0zqao_lburj~0.js"].map(t=>s.l(t))).then(()=>t(70771)))},81110,s=>{s.v(t=>Promise.all(["static/chunks/00db_o431bf7m.js"].map(t=>s.l(t))).then(()=>t(64248)))},37683,s=>{s.v(t=>Promise.all(["static/chunks/07i120a.con.s.js"].map(t=>s.l(t))).then(()=>t(81666)))},28130,s=>{s.v(t=>Promise.all(["static/chunks/0db8zni.apok2.js"].map(t=>s.l(t))).then(()=>t(65013)))},70579,s=>{s.v(t=>Promise.all(["static/chunks/018u8rwx8y9n..js"].map(t=>s.l(t))).then(()=>t(91178)))},87165,s=>{s.v(t=>Promise.all(["static/chunks/15c1fj_gryap~.js"].map(t=>s.l(t))).then(()=>t(7363)))},77856,s=>{s.v(t=>Promise.all(["static/chunks/0zza.vlrdqp28.js"].map(t=>s.l(t))).then(()=>t(82360)))},94363,s=>{s.v(t=>Promise.all(["static/chunks/0~84esd1vdlt9.js"].map(t=>s.l(t))).then(()=>t(20465)))},48953,s=>{s.v(t=>Promise.all(["static/chunks/0wrrms8ool41q.js"].map(t=>s.l(t))).then(()=>t(51566)))},11812,s=>{s.v(t=>Promise.all(["static/chunks/10d4ykizh3bhe.js"].map(t=>s.l(t))).then(()=>t(35992)))},9732,s=>{s.v(t=>Promise.all(["static/chunks/0ocz-v4l_uel_.js"].map(t=>s.l(t))).then(()=>t(53497)))},30788,s=>{s.v(t=>Promise.all(["static/chunks/08eu5c68b24nw.js"].map(t=>s.l(t))).then(()=>t(94790)))},11374,s=>{s.v(t=>Promise.all(["static/chunks/0x93ihllu4v92.js"].map(t=>s.l(t))).then(()=>t(69891)))},69460,s=>{s.v(t=>Promise.all(["static/chunks/0m3sv_vped4j~.js"].map(t=>s.l(t))).then(()=>t(58941)))},74478,s=>{s.v(t=>Promise.all(["static/chunks/0srb8cs8sau6x.js"].map(t=>s.l(t))).then(()=>t(99054)))},49008,s=>{s.v(t=>Promise.all(["static/chunks/0oa8ko11e03em.js"].map(t=>s.l(t))).then(()=>t(45619)))},77952,s=>{s.v(t=>Promise.all(["static/chunks/06jruolv8d-hb.js"].map(t=>s.l(t))).then(()=>t(64754)))},20463,s=>{s.v(t=>Promise.all(["static/chunks/16ut~u9p2z7yf.js"].map(t=>s.l(t))).then(()=>t(66937)))},30169,s=>{s.v(t=>Promise.all(["static/chunks/019.8f98~4uqh.js"].map(t=>s.l(t))).then(()=>t(12397)))},77035,s=>{s.v(t=>Promise.all(["static/chunks/061t91-0vserf.js"].map(t=>s.l(t))).then(()=>t(23854)))},61439,s=>{s.v(t=>Promise.all(["static/chunks/0vod5vg3a904v.js"].map(t=>s.l(t))).then(()=>t(83923)))},28589,s=>{s.v(t=>Promise.all(["static/chunks/17jtcrj5m~icr.js"].map(t=>s.l(t))).then(()=>t(99023)))},67304,s=>{s.v(t=>Promise.all(["static/chunks/152yhzp9vpq8..js"].map(t=>s.l(t))).then(()=>t(20576)))},94497,s=>{s.v(t=>Promise.all(["static/chunks/0wzy_~f7o.24s.js"].map(t=>s.l(t))).then(()=>t(83983)))},53619,s=>{s.v(t=>Promise.all(["static/chunks/10_c5z~j53lgt.js"].map(t=>s.l(t))).then(()=>t(11461)))},41717,s=>{s.v(t=>Promise.all(["static/chunks/0mop72hyi2a_a.js"].map(t=>s.l(t))).then(()=>t(5139)))},3232,s=>{s.v(t=>Promise.all(["static/chunks/034w_ye2h5woc.js"].map(t=>s.l(t))).then(()=>t(7846)))},69411,s=>{s.v(t=>Promise.all(["static/chunks/0dmz_brg~m1zf.js"].map(t=>s.l(t))).then(()=>t(35966)))},53065,s=>{s.v(t=>Promise.all(["static/chunks/13r2jl0agce9o.js"].map(t=>s.l(t))).then(()=>t(92599)))},81356,s=>{s.v(t=>Promise.all(["static/chunks/0t1-y.z5riwf5.js"].map(t=>s.l(t))).then(()=>t(20400)))},91336,s=>{s.v(t=>Promise.all(["static/chunks/0.wt9x.t3dtkx.js"].map(t=>s.l(t))).then(()=>t(54629)))},58732,s=>{s.v(t=>Promise.all(["static/chunks/0ss6o98oxsr1q.js"].map(t=>s.l(t))).then(()=>t(41854)))},5358,s=>{s.v(t=>Promise.all(["static/chunks/0-1nwsetlm5dw.js"].map(t=>s.l(t))).then(()=>t(73427)))},53493,s=>{s.v(t=>Promise.all(["static/chunks/0tlxbqp15p2px.js"].map(t=>s.l(t))).then(()=>t(68746)))},67374,s=>{s.v(t=>Promise.all(["static/chunks/0fsut8km99wu-.js"].map(t=>s.l(t))).then(()=>t(48350)))},61630,s=>{s.v(t=>Promise.all(["static/chunks/117t_c9.2ofnr.js"].map(t=>s.l(t))).then(()=>t(388)))},35353,s=>{s.v(t=>Promise.all(["static/chunks/0m7v1mcc3h~am.js"].map(t=>s.l(t))).then(()=>t(20692)))},29817,s=>{s.v(t=>Promise.all(["static/chunks/009k~8jfipumf.js"].map(t=>s.l(t))).then(()=>t(32876)))},66144,s=>{s.v(t=>Promise.all(["static/chunks/10vuwtzl12i41.js"].map(t=>s.l(t))).then(()=>t(42760)))},96740,s=>{s.v(t=>Promise.all(["static/chunks/0r7tqf1g98-qw.js"].map(t=>s.l(t))).then(()=>t(36913)))},96290,s=>{s.v(t=>Promise.all(["static/chunks/0b57~ounp3b9k.js"].map(t=>s.l(t))).then(()=>t(67631)))},61379,s=>{s.v(t=>Promise.all(["static/chunks/0g35on_x-nvfu.js"].map(t=>s.l(t))).then(()=>t(97216)))},14467,s=>{s.v(t=>Promise.all(["static/chunks/0mnydn0unk-9c.js"].map(t=>s.l(t))).then(()=>t(77142)))},2414,s=>{s.v(t=>Promise.all(["static/chunks/0spcrcx4~_~jr.js"].map(t=>s.l(t))).then(()=>t(42883)))},88273,s=>{s.v(t=>Promise.all(["static/chunks/14dxfi84wvxhf.js"].map(t=>s.l(t))).then(()=>t(47987)))}]);
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
<!-- BEGIN:nextjs-agent-rules -->
|
|
2
|
-
|
|
3
|
-
# This is NOT the Next.js you know
|
|
4
|
-
|
|
5
|
-
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.
|
|
6
|
-
|
|
7
|
-
<!-- END:nextjs-agent-rules -->
|
|
8
|
-
|
|
9
|
-
## Commands
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm run dev # portless run next dev → https://diffhub.localhost
|
|
13
|
-
npm run build # next build → .next/standalone/apps/web/server.js
|
|
14
|
-
npm run start # next start --port 2047 (production)
|
|
15
|
-
npm run lint # oxlint .
|
|
16
|
-
npm run check-types # tsc --noEmit
|
|
17
|
-
npm run test # vitest run
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
After `npm run build`, copy static assets before running the standalone server:
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
cp -r .next/static .next/standalone/apps/web/.next/static
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
`npm run prepack` (and `npm publish` / `npm pack`) does this automatically.
|
|
27
|
-
|
|
28
|
-
## Gotchas
|
|
29
|
-
|
|
30
|
-
**`PatchDiff` only accepts single-file patches.**
|
|
31
|
-
`PatchDiff` calls `getSingularPatch()` internally and throws `"FileDiff: Provided patch must contain exactly 1 file diff"` if the patch has >1 file. Split the full multi-file patch with `/(?=^diff --git )/gm` and render one `PatchDiff` per file. See `components/DiffViewer.tsx` → `splitPatch()`.
|
|
32
|
-
|
|
33
|
-
**@pierre/diffs annotations use `metadata`, not `data`.**
|
|
34
|
-
`DiffLineAnnotation<T>` has a `metadata` field. Using `data` compiles silently but the annotation never renders.
|
|
35
|
-
|
|
36
|
-
**@pierre/diffs options: use `diffStyle`, not `layout`.**
|
|
37
|
-
Valid values: `'split' | 'unified'`. The prop `layout` does not exist and is silently ignored.
|
|
38
|
-
|
|
39
|
-
**blode-icons-react uses `PascalCaseIcon` names.**
|
|
40
|
-
`BranchIcon`, `RotateIcon`, `SplitIcon`, `CopySimpleIcon` — not `GitBranch`, `RefreshCw`, `Columns2`. Check the package exports before guessing a name.
|
|
41
|
-
|
|
42
|
-
**Never import `lib/comments.ts` in client components.**
|
|
43
|
-
`comments.ts` uses Node.js `fs`. Client components that import it will fail at build time with "Can't resolve 'fs'". Pure utilities (like `exportCommentsAsPrompt`) live in `lib/export-comments.ts` instead.
|
|
44
|
-
|
|
45
|
-
**`DIFFHUB_REPO` must be set for API routes to resolve the correct repo.**
|
|
46
|
-
Without it, `lib/git.ts` falls back to `process.cwd()` — the Next.js server directory, not the target repo. Set it in `.env.local` for dev or via the CLI env injection for production.
|
|
47
|
-
|
|
48
|
-
**`outputFileTracingRoot` must be the monorepo root, not `__dirname`.**
|
|
49
|
-
`next.config.ts` sets `outputFileTracingRoot: join(__dirname, "../..")`. Using `__dirname` (the app directory) breaks module resolution for packages hoisted to the root `node_modules`. The monorepo root value causes the standalone server to land at `.next/standalone/apps/web/server.js` — not a flat `server.js`.
|
|
50
|
-
|
|
51
|
-
**Standalone server path mirrors the monorepo workspace.**
|
|
52
|
-
Because `outputFileTracingRoot` is the repo root, the standalone server lives at `.next/standalone/apps/web/server.js`, and static files must be at `.next/standalone/apps/web/.next/static/`. The CLI handles this automatically.
|
|
53
|
-
|
|
54
|
-
## Conventions
|
|
55
|
-
|
|
56
|
-
- API routes (`app/api/*/route.ts`) are server-only — no `"use client"` directive there
|
|
57
|
-
- Icons come from `blode-icons-react`, not `lucide-react`
|
|
58
|
-
- Comments are stored in `.git/diffhub-comments.json` (gitignored in the target repo, not this one)
|
|
59
|
-
- Diff is always `mergeBase...HEAD` — never `HEAD~1` or uncommitted changes
|
|
60
|
-
- Base branch prefers `origin/main` over local `main` so unpushed commits are visible even when on main
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@AGENTS.md
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# diffhub
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/diffhub)
|
|
4
|
-
[](https://nodejs.org)
|
|
5
|
-
|
|
6
|
-
GitHub PR-style diff viewer. Opens in the browser and shows all changes since your branch diverged from main — split view, inline comments, and live auto-refresh.
|
|
7
|
-
|
|
8
|
-
## Install
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
npm install -g diffhub
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
Or run without installing:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
npx diffhub
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
Run inside any git repository:
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
diffhub
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Opens `http://localhost:2047` and shows all changes between your current branch and `main` (or `master` / `develop`, auto-detected).
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
# Use a different base branch
|
|
32
|
-
diffhub --base develop
|
|
33
|
-
|
|
34
|
-
# Point at a repo in another directory
|
|
35
|
-
diffhub --repo ~/projects/my-app
|
|
36
|
-
|
|
37
|
-
# Use a different port
|
|
38
|
-
diffhub --port 3000
|
|
39
|
-
|
|
40
|
-
# Don't open the browser automatically
|
|
41
|
-
diffhub --no-open
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Features
|
|
45
|
-
|
|
46
|
-
- **PR-style diff** — diffs against the merge-base of your base branch, matching GitHub's "Files Changed" view exactly
|
|
47
|
-
- **Split and unified views** — toggle with `s`, keyboard-navigable with `j` / `k`
|
|
48
|
-
- **Inline AI comments** — add `[must-fix]`, `[suggestion]`, `[nit]`, or `[question]` notes on any diff line; copy all comments as a formatted prompt
|
|
49
|
-
- **"Open in" context menu** — right-click any file to open in Zed, VS Code, Ghostty, Terminal, Finder, or copy the path
|
|
50
|
-
- **Live refresh** — polls for changes every 5 seconds; manual refresh with `r`
|
|
51
|
-
- **File sidebar** — filter files with `/`, see per-file `+`/`-` stats at a glance
|
|
52
|
-
|
|
53
|
-
## Keyboard shortcuts
|
|
54
|
-
|
|
55
|
-
| Key | Action |
|
|
56
|
-
| --------- | --------------------------- |
|
|
57
|
-
| `j` / `k` | Next / previous file |
|
|
58
|
-
| `s` | Toggle split / unified view |
|
|
59
|
-
| `/` | Focus file filter |
|
|
60
|
-
| `r` | Refresh diff |
|
|
61
|
-
|
|
62
|
-
## Options
|
|
63
|
-
|
|
64
|
-
| Flag | Default | Description |
|
|
65
|
-
| --------------------- | ------- | --------------------------- |
|
|
66
|
-
| `-p, --port <port>` | `2047` | Port to serve on |
|
|
67
|
-
| `-r, --repo <path>` | `cwd` | Path to the git repository |
|
|
68
|
-
| `-b, --base <branch>` | auto | Base branch to diff against |
|
|
69
|
-
| `--no-open` | — | Skip automatic browser open |
|
|
70
|
-
|
|
71
|
-
## Requirements
|
|
72
|
-
|
|
73
|
-
- Node.js 18+
|
|
74
|
-
- A git repository with at least one commit on your current branch
|
|
75
|
-
|
|
76
|
-
## License
|
|
77
|
-
|
|
78
|
-
MIT
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NextResponse } from "next/server";
|
|
2
|
-
import { addComment, deleteComment, readComments } from "@/lib/comments";
|
|
3
|
-
|
|
4
|
-
export const GET = () => NextResponse.json(readComments());
|
|
5
|
-
|
|
6
|
-
export const POST = async (request: Request) => {
|
|
7
|
-
const data = (await request.json()) as Parameters<typeof addComment>[0];
|
|
8
|
-
const comment = addComment(data);
|
|
9
|
-
return NextResponse.json(comment, { status: 201 });
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export const DELETE = (request: Request) => {
|
|
13
|
-
const { searchParams } = new URL(request.url);
|
|
14
|
-
const id = searchParams.get("id");
|
|
15
|
-
if (!id) {
|
|
16
|
-
return NextResponse.json({ error: "id required" }, { status: 400 });
|
|
17
|
-
}
|
|
18
|
-
deleteComment(id);
|
|
19
|
-
return NextResponse.json({ ok: true });
|
|
20
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NextResponse } from "next/server";
|
|
2
|
-
import { getDiff, getDiffForFile } from "@/lib/git";
|
|
3
|
-
|
|
4
|
-
export const GET = async (request: Request) => {
|
|
5
|
-
const { searchParams } = new URL(request.url);
|
|
6
|
-
const base = searchParams.get("base") ?? undefined;
|
|
7
|
-
const file = searchParams.get("file") ?? undefined;
|
|
8
|
-
const mode = searchParams.get("mode") === "uncommitted" ? ("uncommitted" as const) : undefined;
|
|
9
|
-
try {
|
|
10
|
-
const result = file ? await getDiffForFile(file, base, mode) : await getDiff(base, mode);
|
|
11
|
-
return NextResponse.json(result);
|
|
12
|
-
} catch (error) {
|
|
13
|
-
return NextResponse.json({ error: String(error) }, { status: 500 });
|
|
14
|
-
}
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NextResponse } from "next/server";
|
|
2
|
-
import { discardFile } from "@/lib/git";
|
|
3
|
-
|
|
4
|
-
export const POST = async (request: Request) => {
|
|
5
|
-
const { file } = (await request.json()) as { file?: string };
|
|
6
|
-
if (!file) {
|
|
7
|
-
return NextResponse.json({ error: "file required" }, { status: 400 });
|
|
8
|
-
}
|
|
9
|
-
try {
|
|
10
|
-
await discardFile(file);
|
|
11
|
-
return NextResponse.json({ ok: true });
|
|
12
|
-
} catch (error) {
|
|
13
|
-
return NextResponse.json({ error: String(error) }, { status: 500 });
|
|
14
|
-
}
|
|
15
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { NextResponse } from "next/server";
|
|
2
|
-
import { getFileAtRef } from "@/lib/git";
|
|
3
|
-
|
|
4
|
-
export const GET = async (request: Request) => {
|
|
5
|
-
const { searchParams } = new URL(request.url);
|
|
6
|
-
const path = searchParams.get("path") ?? "";
|
|
7
|
-
const ref = searchParams.get("ref") ?? "";
|
|
8
|
-
if (!path || !ref) {
|
|
9
|
-
return NextResponse.json({ error: "Missing path or ref" }, { status: 400 });
|
|
10
|
-
}
|
|
11
|
-
try {
|
|
12
|
-
const content = await getFileAtRef(path, ref);
|
|
13
|
-
return NextResponse.json({ content });
|
|
14
|
-
} catch (error) {
|
|
15
|
-
return NextResponse.json({ error: String(error) }, { status: 500 });
|
|
16
|
-
}
|
|
17
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NextResponse } from "next/server";
|
|
2
|
-
import { getDiffStats } from "@/lib/git";
|
|
3
|
-
|
|
4
|
-
export const GET = async (request: Request) => {
|
|
5
|
-
const { searchParams } = new URL(request.url);
|
|
6
|
-
const base = searchParams.get("base") ?? undefined;
|
|
7
|
-
const mode = searchParams.get("mode") === "uncommitted" ? ("uncommitted" as const) : undefined;
|
|
8
|
-
try {
|
|
9
|
-
const result = await getDiffStats(base, mode);
|
|
10
|
-
return NextResponse.json(result);
|
|
11
|
-
} catch (error) {
|
|
12
|
-
return NextResponse.json({ error: String(error) }, { status: 500 });
|
|
13
|
-
}
|
|
14
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { exec as execCallback } from "node:child_process";
|
|
2
|
-
import { promisify } from "node:util";
|
|
3
|
-
import path from "node:path";
|
|
4
|
-
import { NextResponse } from "next/server";
|
|
5
|
-
|
|
6
|
-
const exec = promisify(execCallback);
|
|
7
|
-
|
|
8
|
-
type AppKey = "finder" | "zed" | "vscode" | "xcode" | "ghostty" | "terminal";
|
|
9
|
-
|
|
10
|
-
const buildCommand = (app: AppKey, filePath: string, line?: number): string => {
|
|
11
|
-
switch (app) {
|
|
12
|
-
case "finder": {
|
|
13
|
-
return `open -R "${filePath}"`;
|
|
14
|
-
}
|
|
15
|
-
case "zed": {
|
|
16
|
-
return line ? `zed "${filePath}:${line}"` : `zed "${filePath}"`;
|
|
17
|
-
}
|
|
18
|
-
case "vscode": {
|
|
19
|
-
return line ? `code --goto "${filePath}:${line}"` : `code "${filePath}"`;
|
|
20
|
-
}
|
|
21
|
-
case "xcode": {
|
|
22
|
-
return `xed "${filePath}"`;
|
|
23
|
-
}
|
|
24
|
-
case "ghostty": {
|
|
25
|
-
return `open -a Ghostty`;
|
|
26
|
-
}
|
|
27
|
-
case "terminal": {
|
|
28
|
-
return `open -a Terminal "${path.dirname(filePath)}"`;
|
|
29
|
-
}
|
|
30
|
-
default: {
|
|
31
|
-
throw new Error(`Unknown app: ${app}`);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export const POST = async (request: Request) => {
|
|
37
|
-
const {
|
|
38
|
-
path: filePath,
|
|
39
|
-
app,
|
|
40
|
-
line,
|
|
41
|
-
} = (await request.json()) as {
|
|
42
|
-
path: string;
|
|
43
|
-
app: AppKey;
|
|
44
|
-
line?: number;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
if (!filePath || !app) {
|
|
48
|
-
return NextResponse.json({ error: "path and app required" }, { status: 400 });
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
let cmd: string;
|
|
52
|
-
try {
|
|
53
|
-
cmd = buildCommand(app, filePath, line);
|
|
54
|
-
} catch (error) {
|
|
55
|
-
return NextResponse.json({ error: String(error) }, { status: 400 });
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
try {
|
|
59
|
-
await exec(cmd);
|
|
60
|
-
return NextResponse.json({ ok: true });
|
|
61
|
-
} catch (error) {
|
|
62
|
-
return NextResponse.json({ error: String(error) }, { status: 500 });
|
|
63
|
-
}
|
|
64
|
-
};
|
|
Binary file
|