git-truck 0.10.8 → 1.0.0

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/README.md CHANGED
@@ -61,7 +61,7 @@ You can also define files to ignore.
61
61
  "log": "debug",
62
62
  "branch": "main",
63
63
  "unionedAuthors": [
64
- ["Bob", "Bobby Bobb"],
64
+ ["Bob", "Bobby Bob"],
65
65
  ["Alice", "aliiii", "alice alice"]
66
66
  ],
67
67
  "hiddenFiles": ["package-lock.json", "*.bin", "*.svg"],
package/build/index.js CHANGED
@@ -1840,7 +1840,7 @@ function handleRequest(request, responseStatusCode, responseHeaders, remixContex
1840
1840
  });
1841
1841
  }
1842
1842
 
1843
- // route:C:\Projects\git-truck\src\root.tsx
1843
+ // route:C:\Users\Tjoms\Documents\GitHub\git-visual\src\root.tsx
1844
1844
  var root_exports = {};
1845
1845
  __export(root_exports, {
1846
1846
  CatchBoundary: () => CatchBoundary,
@@ -1866,7 +1866,7 @@ var styles_default = "/build/_assets/index-ISZFG75V.css";
1866
1866
  // src/styles/Chart.css
1867
1867
  var Chart_default = "/build/_assets/Chart-OOZGWRB3.css";
1868
1868
 
1869
- // route:C:\Projects\git-truck\src\root.tsx
1869
+ // route:C:\Users\Tjoms\Documents\GitHub\git-visual\src\root.tsx
1870
1870
  var import_react = require("react");
1871
1871
 
1872
1872
  // src/components/util.tsx
@@ -2121,7 +2121,7 @@ var Actions = import_styled_components2.default.div`
2121
2121
  display: flex;
2122
2122
  `;
2123
2123
 
2124
- // route:C:\Projects\git-truck\src\root.tsx
2124
+ // route:C:\Users\Tjoms\Documents\GitHub\git-visual\src\root.tsx
2125
2125
  var meta = () => {
2126
2126
  return { title: "Git Truck" };
2127
2127
  };
@@ -2160,7 +2160,7 @@ var ErrorBoundary = ({ error: error2 }) => {
2160
2160
  return /* @__PURE__ */ React.createElement("html", null, /* @__PURE__ */ React.createElement("head", null, /* @__PURE__ */ React.createElement("title", null, "Oops! An error wasn't handled"), /* @__PURE__ */ React.createElement(import_remix2.Meta, null), /* @__PURE__ */ React.createElement(import_remix2.Links, null)), /* @__PURE__ */ React.createElement("body", null, /* @__PURE__ */ React.createElement("h1", null, error2.message), /* @__PURE__ */ React.createElement(Code, null, error2.stack), /* @__PURE__ */ React.createElement(import_remix2.Scripts, null)));
2161
2161
  };
2162
2162
 
2163
- // route:C:\Projects\git-truck\src\routes\$repo.$.tsx
2163
+ // route:C:\Users\Tjoms\Documents\GitHub\git-visual\src\routes\$repo.$.tsx
2164
2164
  var repo_exports = {};
2165
2165
  __export(repo_exports, {
2166
2166
  ErrorBoundary: () => ErrorBoundary2,
@@ -2281,7 +2281,7 @@ var import_path2 = require("path");
2281
2281
 
2282
2282
  // package.json
2283
2283
  var name = "git-truck";
2284
- var version = "0.10.8";
2284
+ var version = "1.0.0";
2285
2285
  var private2 = false;
2286
2286
  var description = "Visualizing a Git repository";
2287
2287
  var license = "MIT";
@@ -2939,6 +2939,10 @@ async function hydrateData(commit) {
2939
2939
  blob.lastChangeEpoch = time;
2940
2940
  if (isBinary) {
2941
2941
  blob.isBinary = true;
2942
+ blob.authors[author] = (blob.authors[author] ?? 0) + 1;
2943
+ for (const coauthor of coauthors) {
2944
+ blob.authors[coauthor.name] = (blob.authors[coauthor.name] ?? 0) + 1;
2945
+ }
2942
2946
  continue;
2943
2947
  }
2944
2948
  blob.authors[author] = (blob.authors[author] ?? 0) + contribs;
@@ -4943,7 +4947,7 @@ function Details(props) {
4943
4947
  clickedTree: clickedObject
4944
4948
  }), /* @__PURE__ */ React.createElement(PathEntry, {
4945
4949
  path: clickedObject.path
4946
- })), /* @__PURE__ */ React.createElement(Spacer, null), isBlob2 ? clickedObject.isBinary || hasZeroContributions(clickedObject.authors) ? null : /* @__PURE__ */ React.createElement(AuthorDistribution, {
4950
+ })), /* @__PURE__ */ React.createElement(Spacer, null), isBlob2 ? /* @__PURE__ */ React.createElement(AuthorDistribution, {
4947
4951
  authors: (_a = clickedObject.unionedAuthors) == null ? void 0 : _a[authorshipType]
4948
4952
  }) : /* @__PURE__ */ React.createElement(AuthorDistribution, {
4949
4953
  authors: calculateAuthorshipForSubTree(clickedObject, authorshipType)
@@ -5080,13 +5084,11 @@ var authorCutoff = 2;
5080
5084
  function AuthorDistribution(props) {
5081
5085
  const [collapse, setCollapse] = (0, import_react7.useState)(true);
5082
5086
  const contribDist = Object.entries(makePercentResponsibilityDistribution(props.authors)).sort((a, b) => a[1] < b[1] ? 1 : -1);
5083
- if (contribDist.length === 0)
5084
- return null;
5085
5087
  if (contribDist.length <= authorCutoff + 1) {
5086
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(DetailsHeading, null, "Author distribution"), /* @__PURE__ */ React.createElement(Spacer, null), /* @__PURE__ */ React.createElement(AuthorDistEntries, null, /* @__PURE__ */ React.createElement(AuthorDistFragment, {
5088
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(DetailsHeading, null, "Author distribution"), /* @__PURE__ */ React.createElement(Spacer, null), /* @__PURE__ */ React.createElement(AuthorDistEntries, null, contribDist.length > 0 && !hasZeroContributions(props.authors) ? /* @__PURE__ */ React.createElement(AuthorDistFragment, {
5087
5089
  show: true,
5088
5090
  items: contribDist
5089
- })));
5091
+ }) : /* @__PURE__ */ React.createElement("p", null, "No authors found")));
5090
5092
  }
5091
5093
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(AuthorDistHeader, null, /* @__PURE__ */ React.createElement(DetailsHeading, null, "Author distribution"), /* @__PURE__ */ React.createElement(ExpandDown, {
5092
5094
  relative: true,
@@ -5136,6 +5138,8 @@ var DetailsEntries = import_styled_components5.default.div`
5136
5138
  gap: var(--unit) calc(var(--unit) * 3);
5137
5139
  `;
5138
5140
  function hasZeroContributions(authors) {
5141
+ if (!authors)
5142
+ return true;
5139
5143
  const authorsList = Object.entries(authors);
5140
5144
  for (const [, contribution] of authorsList) {
5141
5145
  if (contribution > 0)
@@ -5150,8 +5154,6 @@ function calculateAuthorshipForSubTree(tree, authorshipType) {
5150
5154
  var _a;
5151
5155
  for (const child of tree2.children) {
5152
5156
  if (child.type === "blob") {
5153
- if (child.isBinary)
5154
- continue;
5155
5157
  const unionedAuthors = (_a = child.unionedAuthors) == null ? void 0 : _a[authorshipType];
5156
5158
  if (!unionedAuthors)
5157
5159
  throw Error("No unioned authors");
@@ -7141,7 +7143,7 @@ var AliasEntryRoot = import_styled_components17.default.div`
7141
7143
  var CheckboxWrapper = import_styled_components17.default.div``;
7142
7144
  var Checkbox2 = import_styled_components17.default.input.attrs({ type: "checkbox" })``;
7143
7145
 
7144
- // route:C:\Projects\git-truck\src\routes\$repo.$.tsx
7146
+ // route:C:\Users\Tjoms\Documents\GitHub\git-visual\src\routes\$repo.$.tsx
7145
7147
  var invalidateCache = false;
7146
7148
  var loader = async ({ params }) => {
7147
7149
  if (!params["repo"] || !params["*"]) {
@@ -7311,7 +7313,7 @@ var Container = import_styled_components18.default.div`
7311
7313
  }
7312
7314
  `;
7313
7315
 
7314
- // route:C:\Projects\git-truck\src\routes\index.tsx
7316
+ // route:C:\Users\Tjoms\Documents\GitHub\git-visual\src\routes\index.tsx
7315
7317
  var routes_exports = {};
7316
7318
  __export(routes_exports, {
7317
7319
  action: () => action2,
@@ -7358,7 +7360,7 @@ function AnalyzingIndicator() {
7358
7360
  }), /* @__PURE__ */ React.createElement(LoadingText, null, "Analyzing...")));
7359
7361
  }
7360
7362
 
7361
- // route:C:\Projects\git-truck\src\routes\index.tsx
7363
+ // route:C:\Users\Tjoms\Documents\GitHub\git-visual\src\routes\index.tsx
7362
7364
  var import_path9 = require("path");
7363
7365
  var import_react_use7 = require("react-use");
7364
7366
  var import_react19 = require("react");
@@ -7489,7 +7491,7 @@ var AnalyzedTag = import_styled_components20.default.span`
7489
7491
 
7490
7492
  // server-assets-manifest:@remix-run/dev/assets-manifest
7491
7493
  init_react();
7492
- var assets_manifest_default = { "version": "6558ebb0", "entry": { "module": "/build/entry.client-CDN524WE.js", "imports": ["/build/_shared/chunk-Y7FU7OLJ.js", "/build/_shared/chunk-YDCVFN7Q.js"] }, "routes": { "root": { "id": "root", "parentId": void 0, "path": "", "index": void 0, "caseSensitive": void 0, "module": "/build/root-G45CI7YC.js", "imports": ["/build/_shared/chunk-FSZBSYJE.js", "/build/_shared/chunk-OFVESGNJ.js"], "hasAction": false, "hasLoader": false, "hasCatchBoundary": true, "hasErrorBoundary": true }, "routes/$repo.$": { "id": "routes/$repo.$", "parentId": "root", "path": ":repo/*", "index": void 0, "caseSensitive": void 0, "module": "/build/routes/$repo.$-DBFEI273.js", "imports": ["/build/_shared/chunk-6KG2XMTE.js"], "hasAction": true, "hasLoader": true, "hasCatchBoundary": false, "hasErrorBoundary": true }, "routes/index": { "id": "routes/index", "parentId": "root", "path": void 0, "index": true, "caseSensitive": void 0, "module": "/build/routes/index-KKWDT3CN.js", "imports": ["/build/_shared/chunk-6KG2XMTE.js"], "hasAction": true, "hasLoader": true, "hasCatchBoundary": false, "hasErrorBoundary": false } }, "url": "/build/manifest-6558EBB0.js" };
7494
+ var assets_manifest_default = { "version": "c6e4f839", "entry": { "module": "/build/entry.client-CDN524WE.js", "imports": ["/build/_shared/chunk-Y7FU7OLJ.js", "/build/_shared/chunk-YDCVFN7Q.js"] }, "routes": { "root": { "id": "root", "parentId": void 0, "path": "", "index": void 0, "caseSensitive": void 0, "module": "/build/root-XW5NDZMC.js", "imports": ["/build/_shared/chunk-FSZBSYJE.js", "/build/_shared/chunk-OFVESGNJ.js"], "hasAction": false, "hasLoader": false, "hasCatchBoundary": true, "hasErrorBoundary": true }, "routes/$repo.$": { "id": "routes/$repo.$", "parentId": "root", "path": ":repo/*", "index": void 0, "caseSensitive": void 0, "module": "/build/routes/$repo.$-RBUFEBRA.js", "imports": ["/build/_shared/chunk-6KG2XMTE.js"], "hasAction": true, "hasLoader": true, "hasCatchBoundary": false, "hasErrorBoundary": true }, "routes/index": { "id": "routes/index", "parentId": "root", "path": void 0, "index": true, "caseSensitive": void 0, "module": "/build/routes/index-HEMPWSNO.js", "imports": ["/build/_shared/chunk-6KG2XMTE.js"], "hasAction": true, "hasLoader": true, "hasCatchBoundary": false, "hasErrorBoundary": false } }, "url": "/build/manifest-C6E4F839.js" };
7493
7495
 
7494
7496
  // server-entry-module:@remix-run/dev/server-build
7495
7497
  var entry = { module: entry_server_exports };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-truck",
3
- "version": "0.10.8",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "description": "Visualizing a Git repository",
6
6
  "license": "MIT",
@@ -1 +1 @@
1
- window.__remixManifest={"version":"6558ebb0","entry":{"module":"/build/entry.client-CDN524WE.js","imports":["/build/_shared/chunk-Y7FU7OLJ.js","/build/_shared/chunk-YDCVFN7Q.js"]},"routes":{"root":{"id":"root","path":"","module":"/build/root-G45CI7YC.js","imports":["/build/_shared/chunk-FSZBSYJE.js","/build/_shared/chunk-OFVESGNJ.js"],"hasAction":false,"hasLoader":false,"hasCatchBoundary":true,"hasErrorBoundary":true},"routes/$repo.$":{"id":"routes/$repo.$","parentId":"root","path":":repo/*","module":"/build/routes/$repo.$-DBFEI273.js","imports":["/build/_shared/chunk-6KG2XMTE.js"],"hasAction":true,"hasLoader":true,"hasCatchBoundary":false,"hasErrorBoundary":true},"routes/index":{"id":"routes/index","parentId":"root","index":true,"module":"/build/routes/index-KKWDT3CN.js","imports":["/build/_shared/chunk-6KG2XMTE.js"],"hasAction":true,"hasLoader":true,"hasCatchBoundary":false,"hasErrorBoundary":false}},"url":"/build/manifest-6558EBB0.js"};
1
+ window.__remixManifest={"version":"c6e4f839","entry":{"module":"/build/entry.client-CDN524WE.js","imports":["/build/_shared/chunk-Y7FU7OLJ.js","/build/_shared/chunk-YDCVFN7Q.js"]},"routes":{"root":{"id":"root","path":"","module":"/build/root-XW5NDZMC.js","imports":["/build/_shared/chunk-FSZBSYJE.js","/build/_shared/chunk-OFVESGNJ.js"],"hasAction":false,"hasLoader":false,"hasCatchBoundary":true,"hasErrorBoundary":true},"routes/$repo.$":{"id":"routes/$repo.$","parentId":"root","path":":repo/*","module":"/build/routes/$repo.$-RBUFEBRA.js","imports":["/build/_shared/chunk-6KG2XMTE.js"],"hasAction":true,"hasLoader":true,"hasCatchBoundary":false,"hasErrorBoundary":true},"routes/index":{"id":"routes/index","parentId":"root","index":true,"module":"/build/routes/index-HEMPWSNO.js","imports":["/build/_shared/chunk-6KG2XMTE.js"],"hasAction":true,"hasLoader":true,"hasCatchBoundary":false,"hasErrorBoundary":false}},"url":"/build/manifest-C6E4F839.js"};
@@ -29,13 +29,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
29
29
  color: #606060;
30
30
  cursor: pointer;
31
31
  }
32
- `;v();var kn=ee(he()),oi=(0,kn.createContext)(null);function gt(){let e=(0,kn.useContext)(oi);if(!e)throw new Error("useClickedObject must be used within a ClickedObjectProvider");return e}v();var Cn=ee(he()),ii=(0,Cn.createContext)(void 0);function Ae(){let e=(0,Cn.useContext)(ii);if(!e)throw new Error("useData must be used within a DataContext");return e}v();var En=ee(he());v();var Ru=ee(ju());v();var A0={color:"#814CCC",url:"https://github.com/trending?l=1C-Enterprise"},T0={color:"#38761D",url:"https://github.com/trending?l=2-Dimensional-Array"},P0={color:"#004289",url:"https://github.com/trending?l=4D"},_0={color:"#E8274B",url:"https://github.com/trending?l=ABAP"},$0={color:"#555e25",url:"https://github.com/trending?l=ABAP-CDS"},L0={color:"#882B0F",url:"https://github.com/trending?l=ActionScript"},O0={color:"#02f88c",url:"https://github.com/trending?l=Ada"},E0={color:"#fa0f00",url:"https://github.com/trending?l=Adobe-Font-Metrics"},j0={color:"#315665",url:"https://github.com/trending?l=Agda"},D0={color:"#B9D9FF",url:"https://github.com/trending?l=AGS-Script"},F0={color:"#34EB6B",url:"https://github.com/trending?l=AIDL"},B0={color:"#3AA2B5",url:"https://github.com/trending?l=AL"},I0={color:"#64C800",url:"https://github.com/trending?l=Alloy"},N0={color:"#0D597F",url:"https://github.com/trending?l=Alpine-Abuild"},G0={color:"#A89663",url:"https://github.com/trending?l=Altium-Designer"},H0={color:"#E6EFBB",url:"https://github.com/trending?l=AMPL"},q0={color:"#C7D7DC",url:"https://github.com/trending?l=AngelScript"},z0={color:"#A9157E",url:"https://github.com/trending?l=Ant-Build-System"},V0={color:"#9DC3FF",url:"https://github.com/trending?l=ANTLR"},U0={color:"#d12127",url:"https://github.com/trending?l=ApacheConf"},R0={color:"#1797c0",url:"https://github.com/trending?l=Apex"},W0={color:"#2ACCA8",url:"https://github.com/trending?l=API-Blueprint"},Q0={color:"#5A8164",url:"https://github.com/trending?l=APL"},X0={color:"#0B3D91",url:"https://github.com/trending?l=Apollo-Guidance-Computer"},J0={color:"#101F1F",url:"https://github.com/trending?l=AppleScript"},K0={color:"#aa2afe",url:"https://github.com/trending?l=Arc"},Y0={color:"#73a0c5",url:"https://github.com/trending?l=AsciiDoc"},Z0={color:null,url:"https://github.com/trending?l=ASL"},ev={color:"#9400ff",url:"https://github.com/trending?l=ASP.NET"},tv={color:"#a957b0",url:"https://github.com/trending?l=AspectJ"},rv={color:"#6E4C13",url:"https://github.com/trending?l=Assembly"},nv={color:"#ff5a03",url:"https://github.com/trending?l=Astro"},ov={color:"#ff0000",url:"https://github.com/trending?l=Asymptote"},iv={color:"#1ac620",url:"https://github.com/trending?l=ATS"},av={color:"#9CC134",url:"https://github.com/trending?l=Augeas"},lv={color:"#6594b9",url:"https://github.com/trending?l=AutoHotkey"},sv={color:"#1C3552",url:"https://github.com/trending?l=AutoIt"},uv={color:"#0040FF",url:"https://github.com/trending?l=Avro-IDL"},cv={color:"#c30e9b",url:"https://github.com/trending?l=Awk"},fv={color:"#FF5000",url:"https://github.com/trending?l=Ballerina"},dv={color:"#ff0000",url:"https://github.com/trending?l=BASIC"},hv={color:"#C1F12E",url:"https://github.com/trending?l=Batchfile"},pv={color:"#a52f4e",url:"https://github.com/trending?l=Beef"},mv={color:null,url:"https://github.com/trending?l=Befunge"},gv={color:"#778899",url:"https://github.com/trending?l=BibTeX"},bv={color:"#519aba",url:"https://github.com/trending?l=Bicep"},vv={color:"#6A463F",url:"https://github.com/trending?l=Bison"},yv={color:"#00bce4",url:"https://github.com/trending?l=BitBake"},xv={color:"#f7523f",url:"https://github.com/trending?l=Blade"},wv={color:"#00FFAE",url:"https://github.com/trending?l=BlitzBasic"},kv={color:"#cd6400",url:"https://github.com/trending?l=BlitzMax"},Cv={color:"#12223c",url:"https://github.com/trending?l=Bluespec"},Sv={color:"#d4bec1",url:"https://github.com/trending?l=Boo"},Mv={color:"#c80fa0",url:"https://github.com/trending?l=Boogie"},Av={color:"#2F2530",url:"https://github.com/trending?l=Brainfuck"},Tv={color:"#662D91",url:"https://github.com/trending?l=Brightscript"},Pv={color:"#ffd539",url:"https://github.com/trending?l=Browserslist"},_v={color:"#555555",url:"https://github.com/trending?l=C"},$v={color:"#178600",url:"https://github.com/trending?l=Csharp"},Lv={color:"#f34b7d",url:"https://github.com/trending?l=C++"},Ov={color:null,url:"https://github.com/trending?l=C2hs-Haskell"},Ev={color:"#483465",url:"https://github.com/trending?l=Cabal-Config"},jv={color:"#ff4a48",url:"https://github.com/trending?l=Cairo"},Dv={color:"#c42727",url:"https://github.com/trending?l=Cap'n-Proto"},Fv={color:null,url:"https://github.com/trending?l=CartoCSS"},Bv={color:"#dfa535",url:"https://github.com/trending?l=Ceylon"},Iv={color:"#8dc63f",url:"https://github.com/trending?l=Chapel"},Nv={color:null,url:"https://github.com/trending?l=Charity"},Gv={color:"#3f8000",url:"https://github.com/trending?l=ChucK"},Hv={color:"#ccccff",url:"https://github.com/trending?l=Cirru"},qv={color:"#db901e",url:"https://github.com/trending?l=Clarion"},zv={color:"#5546ff",url:"https://github.com/trending?l=Clarity"},Vv={color:"#6a40fd",url:"https://github.com/trending?l=Classic-ASP"},Uv={color:"#3F85AF",url:"https://github.com/trending?l=Clean"},Rv={color:"#E4E6F3",url:"https://github.com/trending?l=Click"},Wv={color:"#00A300",url:"https://github.com/trending?l=CLIPS"},Qv={color:"#db5855",url:"https://github.com/trending?l=Clojure"},Xv={color:"#0d948f",url:"https://github.com/trending?l=Closure-Templates"},Jv={color:"#FFA000",url:"https://github.com/trending?l=Cloud-Firestore-Security-Rules"},Kv={color:"#DA3434",url:"https://github.com/trending?l=CMake"},Yv={color:null,url:"https://github.com/trending?l=COBOL"},Zv={color:"#140f46",url:"https://github.com/trending?l=CodeQL"},e1={color:"#244776",url:"https://github.com/trending?l=CoffeeScript"},t1={color:"#ed2cd6",url:"https://github.com/trending?l=ColdFusion"},r1={color:"#ed2cd6",url:"https://github.com/trending?l=ColdFusion-CFC"},n1={color:"#F1A42B",url:"https://github.com/trending?l=COLLADA"},o1={color:"#3fb68b",url:"https://github.com/trending?l=Common-Lisp"},i1={color:"#B5314C",url:"https://github.com/trending?l=Common-Workflow-Language"},a1={color:"#B0CE4E",url:"https://github.com/trending?l=Component-Pascal"},l1={color:null,url:"https://github.com/trending?l=Cool"},s1={color:"#d0b68c",url:"https://github.com/trending?l=Coq"},u1={color:"#000100",url:"https://github.com/trending?l=Crystal"},c1={color:"#244776",url:"https://github.com/trending?l=CSON"},f1={color:"#1a1a1a",url:"https://github.com/trending?l=Csound"},d1={color:"#1a1a1a",url:"https://github.com/trending?l=Csound-Document"},h1={color:"#1a1a1a",url:"https://github.com/trending?l=Csound-Score"},p1={color:"#563d7c",url:"https://github.com/trending?l=CSS"},m1={color:"#237346",url:"https://github.com/trending?l=CSV"},g1={color:"#3A4E3A",url:"https://github.com/trending?l=Cuda"},b1={color:"#5886E1",url:"https://github.com/trending?l=CUE"},v1={color:"#531242",url:"https://github.com/trending?l=Curry"},y1={color:"#00007a",url:"https://github.com/trending?l=CWeb"},x1={color:null,url:"https://github.com/trending?l=Cycript"},w1={color:"#fedf5b",url:"https://github.com/trending?l=Cython"},k1={color:"#ba595e",url:"https://github.com/trending?l=D"},C1={color:"#FFEC25",url:"https://github.com/trending?l=Dafny"},S1={color:"#8eff23",url:"https://github.com/trending?l=Darcs-Patch"},M1={color:"#00B4AB",url:"https://github.com/trending?l=Dart"},A1={color:"#003a52",url:"https://github.com/trending?l=DataWeave"},T1={color:"#D70751",url:"https://github.com/trending?l=Debian-Package-Control-File"},P1={color:"#FBEE96",url:"https://github.com/trending?l=DenizenScript"},_1={color:"#dfafff",url:"https://github.com/trending?l=Dhall"},$1={color:null,url:"https://github.com/trending?l=DIGITAL-Command-Language"},L1={color:"#aace60",url:"https://github.com/trending?l=DirectX-3D-File"},O1={color:"#447265",url:"https://github.com/trending?l=DM"},E1={color:"#384d54",url:"https://github.com/trending?l=Dockerfile"},j1={color:"#cca760",url:"https://github.com/trending?l=Dogescript"},D1={color:null,url:"https://github.com/trending?l=DTrace"},F1={color:"#6c616e",url:"https://github.com/trending?l=Dylan"},B1={color:"#ccce35",url:"https://github.com/trending?l=E"},I1={color:"#2af0ff",url:"https://github.com/trending?l=Earthly"},N1={color:"#069406",url:"https://github.com/trending?l=Easybuild"},G1={color:"#913960",url:"https://github.com/trending?l=eC"},H1={color:"#913960",url:"https://github.com/trending?l=Ecere-Projects"},q1={color:"#8a1267",url:"https://github.com/trending?l=ECL"},z1={color:"#001d9d",url:"https://github.com/trending?l=ECLiPSe"},V1={color:"#fff1f2",url:"https://github.com/trending?l=EditorConfig"},U1={color:"#4d6977",url:"https://github.com/trending?l=Eiffel"},R1={color:"#a91e50",url:"https://github.com/trending?l=EJS"},W1={color:"#6e4a7e",url:"https://github.com/trending?l=Elixir"},Q1={color:"#60B5CC",url:"https://github.com/trending?l=Elm"},X1={color:"#c065db",url:"https://github.com/trending?l=Emacs-Lisp"},J1={color:"#FFF4F3",url:"https://github.com/trending?l=EmberScript"},K1={color:"#a78649",url:"https://github.com/trending?l=EQ"},Y1={color:"#B83998",url:"https://github.com/trending?l=Erlang"},Z1={color:"#FF790B",url:"https://github.com/trending?l=Euphoria"},ey={color:"#b845fc",url:"https://github.com/trending?l=Fsharp"},ty={color:"#572e30",url:"https://github.com/trending?l=F*"},ry={color:"#636746",url:"https://github.com/trending?l=Factor"},ny={color:"#7b9db4",url:"https://github.com/trending?l=Fancy"},oy={color:"#14253c",url:"https://github.com/trending?l=Fantom"},iy={color:"#c37240",url:"https://github.com/trending?l=Faust"},ay={color:"#fff3d7",url:"https://github.com/trending?l=Fennel"},ly={color:"#FFDDBB",url:"https://github.com/trending?l=FIGlet-Font"},sy={color:"#F6B900",url:"https://github.com/trending?l=Filebench-WML"},uy={color:null,url:"https://github.com/trending?l=Filterscript"},cy={color:"#4aae47",url:"https://github.com/trending?l=fish"},fy={color:"#ffcc33",url:"https://github.com/trending?l=Fluent"},dy={color:"#88ccff",url:"https://github.com/trending?l=FLUX"},hy={color:"#341708",url:"https://github.com/trending?l=Forth"},py={color:"#4d41b1",url:"https://github.com/trending?l=Fortran"},my={color:"#4d41b1",url:"https://github.com/trending?l=Fortran-Free-Form"},gy={color:"#867db1",url:"https://github.com/trending?l=FreeBasic"},by={color:"#0050b2",url:"https://github.com/trending?l=FreeMarker"},vy={color:"#00cafe",url:"https://github.com/trending?l=Frege"},yy={color:"#5f021f",url:"https://github.com/trending?l=Futhark"},xy={color:"#D08CF2",url:"https://github.com/trending?l=G-code"},wy={color:"#71b417",url:"https://github.com/trending?l=Game-Maker-Language"},ky={color:"#FFC766",url:"https://github.com/trending?l=GAML"},Cy={color:"#f49a22",url:"https://github.com/trending?l=GAMS"},Sy={color:"#0000cc",url:"https://github.com/trending?l=GAP"},My={color:"#FFCFAB",url:"https://github.com/trending?l=GCC-Machine-Description"},Ay={color:null,url:"https://github.com/trending?l=GDB"},Ty={color:"#355570",url:"https://github.com/trending?l=GDScript"},Py={color:"#003058",url:"https://github.com/trending?l=GEDCOM"},_y={color:"#701516",url:"https://github.com/trending?l=Gemfile.lock"},$y={color:"#fb855d",url:"https://github.com/trending?l=Genie"},Ly={color:"#951531",url:"https://github.com/trending?l=Genshi"},Oy={color:"#9400ff",url:"https://github.com/trending?l=Gentoo-Ebuild"},Ey={color:"#9400ff",url:"https://github.com/trending?l=Gentoo-Eclass"},jy={color:"#d20b00",url:"https://github.com/trending?l=Gerber-Image"},Dy={color:"#5B2063",url:"https://github.com/trending?l=Gherkin"},Fy={color:"#F44D27",url:"https://github.com/trending?l=Git-Attributes"},By={color:"#F44D27",url:"https://github.com/trending?l=Git-Config"},Iy={color:"#ffaff3",url:"https://github.com/trending?l=Gleam"},Ny={color:"#5686a5",url:"https://github.com/trending?l=GLSL"},Gy={color:"#c1ac7f",url:"https://github.com/trending?l=Glyph"},Hy={color:"#f0a9f0",url:"https://github.com/trending?l=Gnuplot"},qy={color:"#00ADD8",url:"https://github.com/trending?l=Go"},zy={color:"#00ADD8",url:"https://github.com/trending?l=Go-Checksums"},Vy={color:"#00ADD8",url:"https://github.com/trending?l=Go-Module"},Uy={color:"#88562A",url:"https://github.com/trending?l=Golo"},Ry={color:"#82937f",url:"https://github.com/trending?l=Gosu"},Wy={color:"#615f8b",url:"https://github.com/trending?l=Grace"},Qy={color:"#02303a",url:"https://github.com/trending?l=Gradle"},Xy={color:"#ff0000",url:"https://github.com/trending?l=Grammatical-Framework"},Jy={color:"#e10098",url:"https://github.com/trending?l=GraphQL"},Ky={color:"#2596be",url:"https://github.com/trending?l=Graphviz-(DOT)"},Yy={color:"#4298b8",url:"https://github.com/trending?l=Groovy"},Zy={color:"#4298b8",url:"https://github.com/trending?l=Groovy-Server-Pages"},ex={color:"#FF6800",url:"https://github.com/trending?l=GSC"},tx={color:"#878787",url:"https://github.com/trending?l=Hack"},rx={color:"#ece2a9",url:"https://github.com/trending?l=Haml"},nx={color:"#f7931e",url:"https://github.com/trending?l=Handlebars"},ox={color:"#106da9",url:"https://github.com/trending?l=HAProxy"},ix={color:"#0e60e3",url:"https://github.com/trending?l=Harbour"},ax={color:"#5e5086",url:"https://github.com/trending?l=Haskell"},lx={color:"#df7900",url:"https://github.com/trending?l=Haxe"},sx={color:null,url:"https://github.com/trending?l=HCL"},ux={color:"#dce200",url:"https://github.com/trending?l=HiveQL"},cx={color:"#aace60",url:"https://github.com/trending?l=HLSL"},fx={color:"#ffefaf",url:"https://github.com/trending?l=HolyC"},dx={color:"#00b171",url:"https://github.com/trending?l=hoon"},hx={color:"#e34c26",url:"https://github.com/trending?l=HTML"},px={color:"#2e1052",url:"https://github.com/trending?l=HTML+ECR"},mx={color:"#6e4a7e",url:"https://github.com/trending?l=HTML+EEX"},gx={color:"#701516",url:"https://github.com/trending?l=HTML+ERB"},bx={color:"#4f5d95",url:"https://github.com/trending?l=HTML+PHP"},vx={color:"#512be4",url:"https://github.com/trending?l=HTML+Razor"},yx={color:"#005C9C",url:"https://github.com/trending?l=HTTP"},xx={color:"#f68712",url:"https://github.com/trending?l=HXML"},wx={color:"#7790B2",url:"https://github.com/trending?l=Hy"},kx={color:null,url:"https://github.com/trending?l=HyPhy"},Cx={color:"#a3522f",url:"https://github.com/trending?l=IDL"},Sx={color:"#b30000",url:"https://github.com/trending?l=Idris"},Mx={color:"#000000",url:"https://github.com/trending?l=Ignore-List"},Ax={color:"#0000cc",url:"https://github.com/trending?l=IGOR-Pro"},Tx={color:"#99AAFF",url:"https://github.com/trending?l=ImageJ-Macro"},Px={color:null,url:"https://github.com/trending?l=Inform-7"},_x={color:"#d1dbe0",url:"https://github.com/trending?l=INI"},$x={color:"#264b99",url:"https://github.com/trending?l=Inno-Setup"},Lx={color:"#a9188d",url:"https://github.com/trending?l=Io"},Ox={color:"#078193",url:"https://github.com/trending?l=Ioke"},Ex={color:"#FEFE00",url:"https://github.com/trending?l=Isabelle"},jx={color:"#FEFE00",url:"https://github.com/trending?l=Isabelle-ROOT"},Dx={color:"#9EEDFF",url:"https://github.com/trending?l=J"},Fx={color:"#0886a5",url:"https://github.com/trending?l=Janet"},Bx={color:"#b07219",url:"https://github.com/trending?l=JAR-Manifest"},Ix={color:"#d03600",url:"https://github.com/trending?l=Jasmin"},Nx={color:"#b07219",url:"https://github.com/trending?l=Java"},Gx={color:"#2A6277",url:"https://github.com/trending?l=Java-Properties"},Hx={color:"#2A6277",url:"https://github.com/trending?l=Java-Server-Pages"},qx={color:"#f1e05a",url:"https://github.com/trending?l=JavaScript"},zx={color:"#f1e05a",url:"https://github.com/trending?l=JavaScript+ERB"},Vx={color:"#15c213",url:"https://github.com/trending?l=Jest-Snapshot"},Ux={color:"#DBCA00",url:"https://github.com/trending?l=JFlex"},Rx={color:"#a52a22",url:"https://github.com/trending?l=Jinja"},Wx={color:"#56b3cb",url:"https://github.com/trending?l=Jison"},Qx={color:"#56b3cb",url:"https://github.com/trending?l=Jison-Lex"},Xx={color:"#843179",url:"https://github.com/trending?l=Jolie"},Jx={color:"#c7254e",url:"https://github.com/trending?l=jq"},Kx={color:"#292929",url:"https://github.com/trending?l=JSON"},Yx={color:"#292929",url:"https://github.com/trending?l=JSON-with-Comments"},Zx={color:"#267CB9",url:"https://github.com/trending?l=JSON5"},e2={color:"#40d47e",url:"https://github.com/trending?l=JSONiq"},t2={color:"#0c479c",url:"https://github.com/trending?l=JSONLD"},r2={color:"#0064bd",url:"https://github.com/trending?l=Jsonnet"},n2={color:"#a270ba",url:"https://github.com/trending?l=Julia"},o2={color:"#DA5B0B",url:"https://github.com/trending?l=Jupyter-Notebook"},i2={color:"#773b37",url:"https://github.com/trending?l=Kaitai-Struct"},a2={color:"#6f8042",url:"https://github.com/trending?l=KakouneScript"},l2={color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Layout"},s2={color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Legacy-Layout"},u2={color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Schematic"},c2={color:"#A97BFF",url:"https://github.com/trending?l=Kotlin"},f2={color:"#28430A",url:"https://github.com/trending?l=KRL"},d2={color:"#1da6e0",url:"https://github.com/trending?l=kvlang"},h2={color:"#fede06",url:"https://github.com/trending?l=LabVIEW"},p2={color:"#2980B9",url:"https://github.com/trending?l=Lark"},m2={color:"#999999",url:"https://github.com/trending?l=Lasso"},g2={color:"#f2a542",url:"https://github.com/trending?l=Latte"},b2={color:null,url:"https://github.com/trending?l=Lean"},v2={color:"#1d365d",url:"https://github.com/trending?l=Less"},y2={color:"#DBCA00",url:"https://github.com/trending?l=Lex"},x2={color:"#4C3023",url:"https://github.com/trending?l=LFE"},w2={color:"#9ccc7c",url:"https://github.com/trending?l=LilyPond"},k2={color:null,url:"https://github.com/trending?l=Limbo"},C2={color:"#67b8de",url:"https://github.com/trending?l=Liquid"},S2={color:"#315665",url:"https://github.com/trending?l=Literate-Agda"},M2={color:"#244776",url:"https://github.com/trending?l=Literate-CoffeeScript"},A2={color:"#5e5086",url:"https://github.com/trending?l=Literate-Haskell"},T2={color:"#499886",url:"https://github.com/trending?l=LiveScript"},P2={color:"#185619",url:"https://github.com/trending?l=LLVM"},_2={color:null,url:"https://github.com/trending?l=Logos"},$2={color:"#295b9a",url:"https://github.com/trending?l=Logtalk"},L2={color:"#cc9900",url:"https://github.com/trending?l=LOLCODE"},O2={color:"#652B81",url:"https://github.com/trending?l=LookML"},E2={color:null,url:"https://github.com/trending?l=LoomScript"},j2={color:"#3d9970",url:"https://github.com/trending?l=LSL"},D2={color:"#000080",url:"https://github.com/trending?l=Lua"},F2={color:null,url:"https://github.com/trending?l=M"},B2={color:null,url:"https://github.com/trending?l=M4"},I2={color:null,url:"https://github.com/trending?l=M4Sugar"},N2={color:"#d8ffff",url:"https://github.com/trending?l=Macaulay2"},G2={color:"#427819",url:"https://github.com/trending?l=Makefile"},H2={color:"#7e858d",url:"https://github.com/trending?l=Mako"},q2={color:"#083fa1",url:"https://github.com/trending?l=Markdown"},z2={color:"#42bff2",url:"https://github.com/trending?l=Marko"},V2={color:"#f97732",url:"https://github.com/trending?l=Mask"},U2={color:"#dd1100",url:"https://github.com/trending?l=Mathematica"},R2={color:"#e16737",url:"https://github.com/trending?l=MATLAB"},W2={color:"#c4a79c",url:"https://github.com/trending?l=Max"},Q2={color:"#00a6a6",url:"https://github.com/trending?l=MAXScript"},X2={color:"#E22837",url:"https://github.com/trending?l=mcfunction"},J2={color:"#ff2b2b",url:"https://github.com/trending?l=Mercury"},K2={color:"#007800",url:"https://github.com/trending?l=Meson"},Y2={color:"#8f14e9",url:"https://github.com/trending?l=Metal"},Z2={color:null,url:"https://github.com/trending?l=MiniD"},ew={color:"#ff1111",url:"https://github.com/trending?l=MiniYAML"},tw={color:"#02b046",url:"https://github.com/trending?l=Mint"},rw={color:"#c7a938",url:"https://github.com/trending?l=Mirah"},nw={color:"#3d57c3",url:"https://github.com/trending?l=mIRC-Script"},ow={color:"#5EC8DB",url:"https://github.com/trending?l=MLIR"},iw={color:"#de1d31",url:"https://github.com/trending?l=Modelica"},aw={color:"#10253f",url:"https://github.com/trending?l=Modula-2"},lw={color:"#223388",url:"https://github.com/trending?l=Modula-3"},sw={color:null,url:"https://github.com/trending?l=Module-Management-System"},uw={color:null,url:"https://github.com/trending?l=Monkey"},cw={color:null,url:"https://github.com/trending?l=Moocode"},fw={color:"#ff4585",url:"https://github.com/trending?l=MoonScript"},dw={color:"#fbb03b",url:"https://github.com/trending?l=Motoko"},hw={color:"#005daa",url:"https://github.com/trending?l=Motorola-68K-Assembly"},pw={color:"#62A8D6",url:"https://github.com/trending?l=MQL4"},mw={color:"#4A76B8",url:"https://github.com/trending?l=MQL5"},gw={color:"#b7e1f4",url:"https://github.com/trending?l=MTML"},bw={color:null,url:"https://github.com/trending?l=MUF"},vw={color:"#244963",url:"https://github.com/trending?l=mupad"},yw={color:"#724b3b",url:"https://github.com/trending?l=Mustache"},xw={color:null,url:"https://github.com/trending?l=Myghty"},ww={color:"#2d004d",url:"https://github.com/trending?l=nanorc"},kw={color:null,url:"https://github.com/trending?l=NASL"},Cw={color:"#28431f",url:"https://github.com/trending?l=NCL"},Sw={color:"#990000",url:"https://github.com/trending?l=Nearley"},Mw={color:"#3d3c6e",url:"https://github.com/trending?l=Nemerle"},Aw={color:"#94B0C7",url:"https://github.com/trending?l=nesC"},Tw={color:"#0aa0ff",url:"https://github.com/trending?l=NetLinx"},Pw={color:"#747faa",url:"https://github.com/trending?l=NetLinx+ERB"},_w={color:"#ff6375",url:"https://github.com/trending?l=NetLogo"},$w={color:"#87AED7",url:"https://github.com/trending?l=NewLisp"},Lw={color:"#3ac486",url:"https://github.com/trending?l=Nextflow"},Ow={color:"#009639",url:"https://github.com/trending?l=Nginx"},Ew={color:"#ffc200",url:"https://github.com/trending?l=Nim"},jw={color:"#009917",url:"https://github.com/trending?l=Nit"},Dw={color:"#7e7eff",url:"https://github.com/trending?l=Nix"},Fw={color:"#cb3837",url:"https://github.com/trending?l=NPM-Config"},Bw={color:null,url:"https://github.com/trending?l=NSIS"},Iw={color:"#c9df40",url:"https://github.com/trending?l=Nu"},Nw={color:"#9C8AF9",url:"https://github.com/trending?l=NumPy"},Gw={color:"#3d8137",url:"https://github.com/trending?l=Nunjucks"},Hw={color:"#111522",url:"https://github.com/trending?l=NWScript"},qw={color:"#438eff",url:"https://github.com/trending?l=Objective-C"},zw={color:"#6866fb",url:"https://github.com/trending?l=Objective-C++"},Vw={color:"#ff0c5a",url:"https://github.com/trending?l=Objective-J"},Uw={color:"#424893",url:"https://github.com/trending?l=ObjectScript"},Rw={color:"#3be133",url:"https://github.com/trending?l=OCaml"},Ww={color:"#60AFFE",url:"https://github.com/trending?l=Odin"},Qw={color:"#cabbff",url:"https://github.com/trending?l=Omgrofl"},Xw={color:"#b0b77e",url:"https://github.com/trending?l=ooc"},Jw={color:null,url:"https://github.com/trending?l=Opa"},Kw={color:"#f7ede0",url:"https://github.com/trending?l=Opal"},Yw={color:"#7d9199",url:"https://github.com/trending?l=Open-Policy-Agent"},Zw={color:"#ed2e2d",url:"https://github.com/trending?l=OpenCL"},e5={color:"#5ce600",url:"https://github.com/trending?l=OpenEdge-ABL"},t5={color:"#AA70FF",url:"https://github.com/trending?l=OpenQASM"},r5={color:null,url:"https://github.com/trending?l=OpenRC-runscript"},n5={color:"#e5cd45",url:"https://github.com/trending?l=OpenSCAD"},o5={color:"#77aa99",url:"https://github.com/trending?l=Org"},i5={color:null,url:"https://github.com/trending?l=Ox"},a5={color:"#cdd0e3",url:"https://github.com/trending?l=Oxygene"},l5={color:"#fab738",url:"https://github.com/trending?l=Oz"},s5={color:"#7055b5",url:"https://github.com/trending?l=P4"},u5={color:"#cc0000",url:"https://github.com/trending?l=Pan"},c5={color:"#6600cc",url:"https://github.com/trending?l=Papyrus"},f5={color:"#f3ca0a",url:"https://github.com/trending?l=Parrot"},d5={color:null,url:"https://github.com/trending?l=Parrot-Assembly"},h5={color:null,url:"https://github.com/trending?l=Parrot-Internal-Representation"},p5={color:"#E3F171",url:"https://github.com/trending?l=Pascal"},m5={color:"#dbb284",url:"https://github.com/trending?l=Pawn"},g5={color:"#234d6b",url:"https://github.com/trending?l=PEG.js"},b5={color:"#C76F5B",url:"https://github.com/trending?l=Pep8"},v5={color:"#0298c3",url:"https://github.com/trending?l=Perl"},y5={color:"#4F5D95",url:"https://github.com/trending?l=PHP"},x5={color:"#6067af",url:"https://github.com/trending?l=PicoLisp"},w5={color:"#fcd7de",url:"https://github.com/trending?l=PigLatin"},k5={color:"#005390",url:"https://github.com/trending?l=Pike"},C5={color:"#336790",url:"https://github.com/trending?l=PLpgSQL"},S5={color:"#dad8d8",url:"https://github.com/trending?l=PLSQL"},M5={color:"#d80074",url:"https://github.com/trending?l=PogoScript"},A5={color:null,url:"https://github.com/trending?l=Pony"},T5={color:"#dc3a0c",url:"https://github.com/trending?l=PostCSS"},P5={color:"#da291c",url:"https://github.com/trending?l=PostScript"},_5={color:"#6bac65",url:"https://github.com/trending?l=POV-Ray-SDL"},$5={color:"#8f0f8d",url:"https://github.com/trending?l=PowerBuilder"},L5={color:"#012456",url:"https://github.com/trending?l=PowerShell"},O5={color:"#0c344b",url:"https://github.com/trending?l=Prisma"},E5={color:"#0096D8",url:"https://github.com/trending?l=Processing"},j5={color:"#3B2F63",url:"https://github.com/trending?l=Procfile"},D5={color:"#74283c",url:"https://github.com/trending?l=Prolog"},F5={color:"#de0000",url:"https://github.com/trending?l=Promela"},B5={color:"#7fa2a7",url:"https://github.com/trending?l=Propeller-Spin"},I5={color:"#a86454",url:"https://github.com/trending?l=Pug"},N5={color:"#302B6D",url:"https://github.com/trending?l=Puppet"},G5={color:"#5a6986",url:"https://github.com/trending?l=PureBasic"},H5={color:"#1D222D",url:"https://github.com/trending?l=PureScript"},q5={color:"#3572A5",url:"https://github.com/trending?l=Python"},z5={color:"#3572A5",url:"https://github.com/trending?l=Python-console"},V5={color:"#3572A5",url:"https://github.com/trending?l=Python-traceback"},U5={color:"#0040cd",url:"https://github.com/trending?l=q"},R5={color:"#fed659",url:"https://github.com/trending?l=Qsharp"},W5={color:null,url:"https://github.com/trending?l=QMake"},Q5={color:"#44a51c",url:"https://github.com/trending?l=QML"},X5={color:"#00b841",url:"https://github.com/trending?l=Qt-Script"},J5={color:"#882233",url:"https://github.com/trending?l=Quake"},K5={color:"#198CE7",url:"https://github.com/trending?l=R"},Y5={color:"#3c5caa",url:"https://github.com/trending?l=Racket"},Z5={color:"#9d5200",url:"https://github.com/trending?l=Ragel"},ek={color:"#0000fb",url:"https://github.com/trending?l=Raku"},tk={color:"#77d9fb",url:"https://github.com/trending?l=RAML"},rk={color:"#fffaa0",url:"https://github.com/trending?l=Rascal"},nk={color:"#701516",url:"https://github.com/trending?l=RDoc"},ok={color:null,url:"https://github.com/trending?l=REALbasic"},ik={color:"#ff5847",url:"https://github.com/trending?l=Reason"},ak={color:"#358a5b",url:"https://github.com/trending?l=Rebol"},lk={color:"#0673ba",url:"https://github.com/trending?l=Record-Jar"},sk={color:"#f50000",url:"https://github.com/trending?l=Red"},uk={color:null,url:"https://github.com/trending?l=Redcode"},ck={color:"#009a00",url:"https://github.com/trending?l=Regular-Expression"},fk={color:"#ff7f7f",url:"https://github.com/trending?l=Ren'Py"},dk={color:null,url:"https://github.com/trending?l=RenderScript"},hk={color:"#ed5051",url:"https://github.com/trending?l=ReScript"},pk={color:"#141414",url:"https://github.com/trending?l=reStructuredText"},mk={color:"#d90e09",url:"https://github.com/trending?l=REXX"},gk={color:"#2D54CB",url:"https://github.com/trending?l=Ring"},bk={color:"#A71E49",url:"https://github.com/trending?l=Riot"},vk={color:"#198ce7",url:"https://github.com/trending?l=RMarkdown"},yk={color:"#00c0b5",url:"https://github.com/trending?l=RobotFramework"},xk={color:"#ecdebe",url:"https://github.com/trending?l=Roff"},wk={color:"#ecdebe",url:"https://github.com/trending?l=Roff-Manpage"},kk={color:"#cc0088",url:"https://github.com/trending?l=Rouge"},Ck={color:null,url:"https://github.com/trending?l=RPC"},Sk={color:"#2BDE21",url:"https://github.com/trending?l=RPGLE"},Mk={color:"#701516",url:"https://github.com/trending?l=Ruby"},Ak={color:"#665a4e",url:"https://github.com/trending?l=RUNOFF"},Tk={color:"#dea584",url:"https://github.com/trending?l=Rust"},Pk={color:null,url:"https://github.com/trending?l=Sage"},_k={color:"#646464",url:"https://github.com/trending?l=SaltStack"},$k={color:"#B34936",url:"https://github.com/trending?l=SAS"},Lk={color:"#a53b70",url:"https://github.com/trending?l=Sass"},Ok={color:"#c22d40",url:"https://github.com/trending?l=Scala"},Ek={color:"#bd181a",url:"https://github.com/trending?l=Scaml"},jk={color:"#1e4aec",url:"https://github.com/trending?l=Scheme"},Dk={color:"#ca0f21",url:"https://github.com/trending?l=Scilab"},Fk={color:"#c6538c",url:"https://github.com/trending?l=SCSS"},Bk={color:"#64b970",url:"https://github.com/trending?l=sed"},Ik={color:"#0579aa",url:"https://github.com/trending?l=Self"},Nk={color:"#222c37",url:"https://github.com/trending?l=ShaderLab"},Gk={color:"#89e051",url:"https://github.com/trending?l=Shell"},Hk={color:"#cecfcb",url:"https://github.com/trending?l=ShellCheck-Config"},qk={color:null,url:"https://github.com/trending?l=ShellSession"},zk={color:"#120F14",url:"https://github.com/trending?l=Shen"},Vk={color:null,url:"https://github.com/trending?l=Sieve"},Uk={color:"#64E6AD",url:"https://github.com/trending?l=Singularity"},Rk={color:"#007eff",url:"https://github.com/trending?l=Slash"},Wk={color:"#003fa2",url:"https://github.com/trending?l=Slice"},Qk={color:"#2b2b2b",url:"https://github.com/trending?l=Slim"},Xk={color:null,url:"https://github.com/trending?l=Smali"},Jk={color:"#596706",url:"https://github.com/trending?l=Smalltalk"},Kk={color:"#f0c040",url:"https://github.com/trending?l=Smarty"},Yk={color:"#c94949",url:"https://github.com/trending?l=SmPL"},Zk={color:null,url:"https://github.com/trending?l=SMT"},e3={color:"#AA6746",url:"https://github.com/trending?l=Solidity"},t3={color:"#f69e1d",url:"https://github.com/trending?l=SourcePawn"},r3={color:"#0C4597",url:"https://github.com/trending?l=SPARQL"},n3={color:"#3F3F3F",url:"https://github.com/trending?l=SQF"},o3={color:"#e38c00",url:"https://github.com/trending?l=SQL"},i3={color:"#e38c00",url:"https://github.com/trending?l=SQLPL"},a3={color:"#800000",url:"https://github.com/trending?l=Squirrel"},l3={color:"#348a34",url:"https://github.com/trending?l=SRecode-Template"},s3={color:"#b2011d",url:"https://github.com/trending?l=Stan"},u3={color:"#dc566d",url:"https://github.com/trending?l=Standard-ML"},c3={color:"#76d275",url:"https://github.com/trending?l=Starlark"},f3={color:"#1a5f91",url:"https://github.com/trending?l=Stata"},d3={color:"#3fb34f",url:"https://github.com/trending?l=StringTemplate"},h3={color:"#ff6347",url:"https://github.com/trending?l=Stylus"},p3={color:"#9e0101",url:"https://github.com/trending?l=SubRip-Text"},m3={color:"#2fcc9f",url:"https://github.com/trending?l=SugarSS"},g3={color:"#46390b",url:"https://github.com/trending?l=SuperCollider"},b3={color:"#ff3e00",url:"https://github.com/trending?l=Svelte"},v3={color:"#ff9900",url:"https://github.com/trending?l=SVG"},y3={color:"#F05138",url:"https://github.com/trending?l=Swift"},x3={color:null,url:"https://github.com/trending?l=SWIG"},w3={color:"#DAE1C2",url:"https://github.com/trending?l=SystemVerilog"},k3={color:"#e4cc98",url:"https://github.com/trending?l=Tcl"},C3={color:null,url:"https://github.com/trending?l=Tcsh"},S3={color:"#00004c",url:"https://github.com/trending?l=Terra"},M3={color:"#3D6117",url:"https://github.com/trending?l=TeX"},A3={color:"#ffe7ac",url:"https://github.com/trending?l=Textile"},T3={color:"#df66e4",url:"https://github.com/trending?l=TextMate-Properties"},P3={color:"#D12127",url:"https://github.com/trending?l=Thrift"},_3={color:"#A0AA87",url:"https://github.com/trending?l=TI-Program"},$3={color:"#4b0079",url:"https://github.com/trending?l=TLA"},L3={color:"#9c4221",url:"https://github.com/trending?l=TOML"},O3={color:"#e38c00",url:"https://github.com/trending?l=TSQL"},E3={color:"#237346",url:"https://github.com/trending?l=TSV"},j3={color:"#2b7489",url:"https://github.com/trending?l=TSX"},D3={color:"#cf142b",url:"https://github.com/trending?l=Turing"},F3={color:"#c1d026",url:"https://github.com/trending?l=Twig"},B3={color:"#0178b8",url:"https://github.com/trending?l=TXL"},I3={color:"#2b7489",url:"https://github.com/trending?l=TypeScript"},N3={color:"#4e3617",url:"https://github.com/trending?l=Unified-Parallel-C"},G3={color:"#222c37",url:"https://github.com/trending?l=Unity3D-Asset"},H3={color:null,url:"https://github.com/trending?l=Unix-Assembly"},q3={color:"#9933cc",url:"https://github.com/trending?l=Uno"},z3={color:"#a54c4d",url:"https://github.com/trending?l=UnrealScript"},V3={color:"#ccccee",url:"https://github.com/trending?l=UrWeb"},U3={color:"#4f87c4",url:"https://github.com/trending?l=V"},R3={color:"#fbe5cd",url:"https://github.com/trending?l=Vala"},W3={color:"#f26025",url:"https://github.com/trending?l=Valve-Data-Format"},Q3={color:"#867db1",url:"https://github.com/trending?l=VBA"},X3={color:"#15dcdc",url:"https://github.com/trending?l=VBScript"},J3={color:"#148AA8",url:"https://github.com/trending?l=VCL"},K3={color:"#b2b7f8",url:"https://github.com/trending?l=Verilog"},Y3={color:"#adb2cb",url:"https://github.com/trending?l=VHDL"},Z3={color:"#199f4b",url:"https://github.com/trending?l=Vim-Help-File"},eC={color:"#199f4b",url:"https://github.com/trending?l=Vim-Script"},tC={color:"#199f4b",url:"https://github.com/trending?l=Vim-Snippet"},rC={color:"#945db7",url:"https://github.com/trending?l=Visual-Basic-.NET"},nC={color:"#1F1F1F",url:"https://github.com/trending?l=Volt"},oC={color:"#41b883",url:"https://github.com/trending?l=Vue"},iC={color:"#2980b9",url:"https://github.com/trending?l=Vyper"},aC={color:"#42f1f4",url:"https://github.com/trending?l=wdl"},lC={color:"#5b70bd",url:"https://github.com/trending?l=Web-Ontology-Language"},sC={color:"#04133b",url:"https://github.com/trending?l=WebAssembly"},uC={color:null,url:"https://github.com/trending?l=WebIDL"},cC={color:"#fc5757",url:"https://github.com/trending?l=Wikitext"},fC={color:"#52d5ff",url:"https://github.com/trending?l=Windows-Registry-Entries"},dC={color:"#7582D1",url:"https://github.com/trending?l=wisp"},hC={color:"#ff0000",url:"https://github.com/trending?l=Witcher-Script"},pC={color:"#a23738",url:"https://github.com/trending?l=Wollok"},mC={color:"#f7e43f",url:"https://github.com/trending?l=World-of-Warcraft-Addon-Data"},gC={color:"#4B6BEF",url:"https://github.com/trending?l=X10"},bC={color:"#403a40",url:"https://github.com/trending?l=xBase"},vC={color:"#99DA07",url:"https://github.com/trending?l=XC"},yC={color:"#0060ac",url:"https://github.com/trending?l=XML"},xC={color:"#0060ac",url:"https://github.com/trending?l=XML-Property-List"},wC={color:"#81bd41",url:"https://github.com/trending?l=Xojo"},kC={color:"#285EEF",url:"https://github.com/trending?l=Xonsh"},CC={color:null,url:"https://github.com/trending?l=XProc"},SC={color:"#5232e7",url:"https://github.com/trending?l=XQuery"},MC={color:null,url:"https://github.com/trending?l=XS"},AC={color:"#EB8CEB",url:"https://github.com/trending?l=XSLT"},TC={color:"#24255d",url:"https://github.com/trending?l=Xtend"},PC={color:"#4B6C4B",url:"https://github.com/trending?l=Yacc"},_C={color:"#cb171e",url:"https://github.com/trending?l=YAML"},$C={color:"#220000",url:"https://github.com/trending?l=YARA"},LC={color:"#32AB90",url:"https://github.com/trending?l=YASnippet"},OC={color:"#0d665e",url:"https://github.com/trending?l=ZAP"},EC={color:null,url:"https://github.com/trending?l=Zeek"},jC={color:"#00BCD1",url:"https://github.com/trending?l=ZenScript"},DC={color:"#118f9e",url:"https://github.com/trending?l=Zephir"},FC={color:"#ec915c",url:"https://github.com/trending?l=Zig"},BC={color:"#dc75e5",url:"https://github.com/trending?l=ZIL"},IC={color:"#d67711",url:"https://github.com/trending?l=Zimpl"},Du={"1C Enterprise":A0,"2-Dimensional Array":T0,"4D":P0,ABAP:_0,"ABAP CDS":$0,ActionScript:L0,Ada:O0,"Adobe Font Metrics":E0,Agda:j0,"AGS Script":D0,AIDL:F0,AL:B0,Alloy:I0,"Alpine Abuild":N0,"Altium Designer":G0,AMPL:H0,AngelScript:q0,"Ant Build System":z0,ANTLR:V0,ApacheConf:U0,Apex:R0,"API Blueprint":W0,APL:Q0,"Apollo Guidance Computer":X0,AppleScript:J0,Arc:K0,AsciiDoc:Y0,ASL:Z0,"ASP.NET":ev,AspectJ:tv,Assembly:rv,Astro:nv,Asymptote:ov,ATS:iv,Augeas:av,AutoHotkey:lv,AutoIt:sv,"Avro IDL":uv,Awk:cv,Ballerina:fv,BASIC:dv,Batchfile:hv,Beef:pv,Befunge:mv,BibTeX:gv,Bicep:bv,Bison:vv,BitBake:yv,Blade:xv,BlitzBasic:wv,BlitzMax:kv,Bluespec:Cv,Boo:Sv,Boogie:Mv,Brainfuck:Av,Brightscript:Tv,Browserslist:Pv,C:_v,"C#":$v,"C++":Lv,"C2hs Haskell":Ov,"Cabal Config":Ev,Cairo:jv,"Cap'n Proto":Dv,CartoCSS:Fv,Ceylon:Bv,Chapel:Iv,Charity:Nv,ChucK:Gv,Cirru:Hv,Clarion:qv,Clarity:zv,"Classic ASP":Vv,Clean:Uv,Click:Rv,CLIPS:Wv,Clojure:Qv,"Closure Templates":Xv,"Cloud Firestore Security Rules":Jv,CMake:Kv,COBOL:Yv,CodeQL:Zv,CoffeeScript:e1,ColdFusion:t1,"ColdFusion CFC":r1,COLLADA:n1,"Common Lisp":o1,"Common Workflow Language":i1,"Component Pascal":a1,Cool:l1,Coq:s1,Crystal:u1,CSON:c1,Csound:f1,"Csound Document":d1,"Csound Score":h1,CSS:p1,CSV:m1,Cuda:g1,CUE:b1,Curry:v1,CWeb:y1,Cycript:x1,Cython:w1,D:k1,Dafny:C1,"Darcs Patch":S1,Dart:M1,DataWeave:A1,"Debian Package Control File":T1,DenizenScript:P1,Dhall:_1,"DIGITAL Command Language":$1,"DirectX 3D File":L1,DM:O1,Dockerfile:E1,Dogescript:j1,DTrace:D1,Dylan:F1,E:B1,Earthly:I1,Easybuild:N1,eC:G1,"Ecere Projects":H1,ECL:q1,ECLiPSe:z1,EditorConfig:V1,Eiffel:U1,EJS:R1,Elixir:W1,Elm:Q1,"Emacs Lisp":X1,EmberScript:J1,EQ:K1,Erlang:Y1,Euphoria:Z1,"F#":ey,"F*":ty,Factor:ry,Fancy:ny,Fantom:oy,Faust:iy,Fennel:ay,"FIGlet Font":ly,"Filebench WML":sy,Filterscript:uy,fish:cy,Fluent:fy,FLUX:dy,Forth:hy,Fortran:py,"Fortran Free Form":my,FreeBasic:gy,FreeMarker:by,Frege:vy,Futhark:yy,"G-code":xy,"Game Maker Language":wy,GAML:ky,GAMS:Cy,GAP:Sy,"GCC Machine Description":My,GDB:Ay,GDScript:Ty,GEDCOM:Py,"Gemfile.lock":_y,Genie:$y,Genshi:Ly,"Gentoo Ebuild":Oy,"Gentoo Eclass":Ey,"Gerber Image":jy,Gherkin:Dy,"Git Attributes":Fy,"Git Config":By,Gleam:Iy,GLSL:Ny,Glyph:Gy,Gnuplot:Hy,Go:qy,"Go Checksums":zy,"Go Module":Vy,Golo:Uy,Gosu:Ry,Grace:Wy,Gradle:Qy,"Grammatical Framework":Xy,GraphQL:Jy,"Graphviz (DOT)":Ky,Groovy:Yy,"Groovy Server Pages":Zy,GSC:ex,Hack:tx,Haml:rx,Handlebars:nx,HAProxy:ox,Harbour:ix,Haskell:ax,Haxe:lx,HCL:sx,HiveQL:ux,HLSL:cx,HolyC:fx,hoon:dx,HTML:hx,"HTML+ECR":px,"HTML+EEX":mx,"HTML+ERB":gx,"HTML+PHP":bx,"HTML+Razor":vx,HTTP:yx,HXML:xx,Hy:wx,HyPhy:kx,IDL:Cx,Idris:Sx,"Ignore List":Mx,"IGOR Pro":Ax,"ImageJ Macro":Tx,"Inform 7":Px,INI:_x,"Inno Setup":$x,Io:Lx,Ioke:Ox,Isabelle:Ex,"Isabelle ROOT":jx,J:Dx,Janet:Fx,"JAR Manifest":Bx,Jasmin:Ix,Java:Nx,"Java Properties":Gx,"Java Server Pages":Hx,JavaScript:qx,"JavaScript+ERB":zx,"Jest Snapshot":Vx,JFlex:Ux,Jinja:Rx,Jison:Wx,"Jison Lex":Qx,Jolie:Xx,jq:Jx,JSON:Kx,"JSON with Comments":Yx,JSON5:Zx,JSONiq:e2,JSONLD:t2,Jsonnet:r2,Julia:n2,"Jupyter Notebook":o2,"Kaitai Struct":i2,KakouneScript:a2,"KiCad Layout":l2,"KiCad Legacy Layout":s2,"KiCad Schematic":u2,Kotlin:c2,KRL:f2,kvlang:d2,LabVIEW:h2,Lark:p2,Lasso:m2,Latte:g2,Lean:b2,Less:v2,Lex:y2,LFE:x2,LilyPond:w2,Limbo:k2,Liquid:C2,"Literate Agda":S2,"Literate CoffeeScript":M2,"Literate Haskell":A2,LiveScript:T2,LLVM:P2,Logos:_2,Logtalk:$2,LOLCODE:L2,LookML:O2,LoomScript:E2,LSL:j2,Lua:D2,M:F2,M4:B2,M4Sugar:I2,Macaulay2:N2,Makefile:G2,Mako:H2,Markdown:q2,Marko:z2,Mask:V2,Mathematica:U2,MATLAB:R2,Max:W2,MAXScript:Q2,mcfunction:X2,Mercury:J2,Meson:K2,Metal:Y2,MiniD:Z2,MiniYAML:ew,Mint:tw,Mirah:rw,"mIRC Script":nw,MLIR:ow,Modelica:iw,"Modula-2":aw,"Modula-3":lw,"Module Management System":sw,Monkey:uw,Moocode:cw,MoonScript:fw,Motoko:dw,"Motorola 68K Assembly":hw,MQL4:pw,MQL5:mw,MTML:gw,MUF:bw,mupad:vw,Mustache:yw,Myghty:xw,nanorc:ww,NASL:kw,NCL:Cw,Nearley:Sw,Nemerle:Mw,nesC:Aw,NetLinx:Tw,"NetLinx+ERB":Pw,NetLogo:_w,NewLisp:$w,Nextflow:Lw,Nginx:Ow,Nim:Ew,Nit:jw,Nix:Dw,"NPM Config":Fw,NSIS:Bw,Nu:Iw,NumPy:Nw,Nunjucks:Gw,NWScript:Hw,"Objective-C":qw,"Objective-C++":zw,"Objective-J":Vw,ObjectScript:Uw,OCaml:Rw,Odin:Ww,Omgrofl:Qw,ooc:Xw,Opa:Jw,Opal:Kw,"Open Policy Agent":Yw,OpenCL:Zw,"OpenEdge ABL":e5,OpenQASM:t5,"OpenRC runscript":r5,OpenSCAD:n5,Org:o5,Ox:i5,Oxygene:a5,Oz:l5,P4:s5,Pan:u5,Papyrus:c5,Parrot:f5,"Parrot Assembly":d5,"Parrot Internal Representation":h5,Pascal:p5,Pawn:m5,"PEG.js":g5,Pep8:b5,Perl:v5,PHP:y5,PicoLisp:x5,PigLatin:w5,Pike:k5,PLpgSQL:C5,PLSQL:S5,PogoScript:M5,Pony:A5,PostCSS:T5,PostScript:P5,"POV-Ray SDL":_5,PowerBuilder:$5,PowerShell:L5,Prisma:O5,Processing:E5,Procfile:j5,Prolog:D5,Promela:F5,"Propeller Spin":B5,Pug:I5,Puppet:N5,PureBasic:G5,PureScript:H5,Python:q5,"Python console":z5,"Python traceback":V5,q:U5,"Q#":R5,QMake:W5,QML:Q5,"Qt Script":X5,Quake:J5,R:K5,Racket:Y5,Ragel:Z5,Raku:ek,RAML:tk,Rascal:rk,RDoc:nk,REALbasic:ok,Reason:ik,Rebol:ak,"Record Jar":lk,Red:sk,Redcode:uk,"Regular Expression":ck,"Ren'Py":fk,RenderScript:dk,ReScript:hk,reStructuredText:pk,REXX:mk,Ring:gk,Riot:bk,RMarkdown:vk,RobotFramework:yk,Roff:xk,"Roff Manpage":wk,Rouge:kk,RPC:Ck,RPGLE:Sk,Ruby:Mk,RUNOFF:Ak,Rust:Tk,Sage:Pk,SaltStack:_k,SAS:$k,Sass:Lk,Scala:Ok,Scaml:Ek,Scheme:jk,Scilab:Dk,SCSS:Fk,sed:Bk,Self:Ik,ShaderLab:Nk,Shell:Gk,"ShellCheck Config":Hk,ShellSession:qk,Shen:zk,Sieve:Vk,Singularity:Uk,Slash:Rk,Slice:Wk,Slim:Qk,Smali:Xk,Smalltalk:Jk,Smarty:Kk,SmPL:Yk,SMT:Zk,Solidity:e3,SourcePawn:t3,SPARQL:r3,SQF:n3,SQL:o3,SQLPL:i3,Squirrel:a3,"SRecode Template":l3,Stan:s3,"Standard ML":u3,Starlark:c3,Stata:f3,StringTemplate:d3,Stylus:h3,"SubRip Text":p3,SugarSS:m3,SuperCollider:g3,Svelte:b3,SVG:v3,Swift:y3,SWIG:x3,SystemVerilog:w3,Tcl:k3,Tcsh:C3,Terra:S3,TeX:M3,Textile:A3,"TextMate Properties":T3,Thrift:P3,"TI Program":_3,TLA:$3,TOML:L3,TSQL:O3,TSV:E3,TSX:j3,Turing:D3,Twig:F3,TXL:B3,TypeScript:I3,"Unified Parallel C":N3,"Unity3D Asset":G3,"Unix Assembly":H3,Uno:q3,UnrealScript:z3,UrWeb:V3,V:U3,Vala:R3,"Valve Data Format":W3,VBA:Q3,VBScript:X3,VCL:J3,Verilog:K3,VHDL:Y3,"Vim Help File":Z3,"Vim Script":eC,"Vim Snippet":tC,"Visual Basic .NET":rC,Volt:nC,Vue:oC,Vyper:iC,wdl:aC,"Web Ontology Language":lC,WebAssembly:sC,WebIDL:uC,Wikitext:cC,"Windows Registry Entries":fC,wisp:dC,"Witcher Script":hC,Wollok:pC,"World of Warcraft Addon Data":mC,X10:gC,xBase:bC,XC:vC,XML:yC,"XML Property List":xC,Xojo:wC,Xonsh:kC,XProc:CC,XQuery:SC,XS:MC,XSLT:AC,Xtend:TC,Yacc:PC,YAML:_C,YARA:$C,YASnippet:LC,ZAP:OC,Zeek:EC,ZenScript:jC,Zephir:DC,Zig:FC,ZIL:BC,Zimpl:IC};var Hu=ee(Gu()),qu=new Map;for(let[e,t]of Object.entries(Du))qu.set(e.toLowerCase(),{...t,lang:e});function zu(e){let t=Hu.default.languages(e.toLowerCase()),r=[];if(!t)return null;let n=null;for(let a of t){let s=qu.get(a);if(s){n=s,r.push(n.lang);break}}return n?n.color:null}var Wu={HISTORICAL:"Complete history",BLAME:"Newest version"},nr={FILE_EXTENSION:"File extension",MOST_COMMITS:"Most commits",LAST_CHANGED:"Last changed",SINGLE_AUTHOR:"Single author",TOP_CONTRIBUTOR:"Top contributor"};function Qu(e){let t=HC(e);return{HISTORICAL:Uu(e.commit.tree,Vu(e,"HISTORICAL",t)),BLAME:Uu(e.commit.tree,Vu(e,"BLAME",t))}}function Xu(e,t){switch(e){case"FILE_EXTENSION":return"Where are different types of files located?";case"MOST_COMMITS":return"Which files have had the most commits, throughout the repository's history?";case"LAST_CHANGED":return"Where are the most recent or least recent commits made?";case"SINGLE_AUTHOR":return t==="HISTORICAL"?"Which files are authored by only one person, throughout the repository's history?":"Which files are authored by only one person, in the newest version?";case"TOP_CONTRIBUTOR":return t==="HISTORICAL"?"Which person has made the most line-changes to a file, throughout the repository's history?":"Which person has made the most line-changes to a file, in the newest version?";default:throw new Error("Uknown metric type: "+e)}}function Ju(e){switch(e){case"FILE_EXTENSION":case"TOP_CONTRIBUTOR":case"SINGLE_AUTHOR":return!1;case"LAST_CHANGED":case"MOST_COMMITS":return!0;default:throw new Error("Uknown metric type: "+e)}}var It=class{constructor(t,r){this.color=t;this.weight=r}add(t){this.weight+=t}};function HC(e){let t={};for(let f of e.authors)t[f]=0;let r=e.authors,n=(0,Ru.default)({count:r.length}),a=0,s=new Map;for(let f of r){let d=n[a++].rgb(!0),m=`rgb(${d[0]},${d[1]},${d[2]})`;s.set(f,m)}return s}function Vu(e,t,r){let n=e.commit,a=new Zu(n.minNoCommits,n.maxNoCommits),s=new Yu(n.oldestLatestChangeEpoch,n.newestLatestChangeEpoch);return[["FILE_EXTENSION",(f,d)=>{d.legend||(d.legend=new Map),qC(f,d)}],["SINGLE_AUTHOR",(f,d)=>{d.legend||(d.legend=new Map),VC(f,d,t)}],["MOST_COMMITS",(f,d)=>{d.legend||(d.legend=[`${n.minNoCommits}`,`${n.maxNoCommits}`,void 0,void 0,a.getColor(n.minNoCommits),a.getColor(n.maxNoCommits)]),a.setColor(f,d)}],["LAST_CHANGED",(f,d)=>{d.legend||(d.legend=[Pr(n.oldestLatestChangeEpoch),Pr(n.newestLatestChangeEpoch),Tr(n.oldestLatestChangeEpoch),Tr(n.newestLatestChangeEpoch),s.getColor(n.oldestLatestChangeEpoch),s.getColor(n.newestLatestChangeEpoch)]),s.setColor(f,d)}],["TOP_CONTRIBUTOR",(f,d)=>{f.dominantAuthor||(f.dominantAuthor=new Map),d.legend||(d.legend=new Map),zC(r,f,d,t)}]]}function Uu(e,t){let r=new Map;return Ku(e,t,r),r}function Ku(e,t,r){var n;for(let a of e.children)switch(a.type){case"tree":Ku(a,t,r);break;case"blob":for(let[s,f]of t)r.has(s)||r.set(s,{legend:void 0,colormap:new Map}),f(a,(n=r.get(s))!=null?n:{legend:void 0,colormap:new Map});break}}function qC(e,t){var s;let r=e.name.substring(e.name.lastIndexOf(".")+1),n=zu(r),a=t.legend;n?(a.has(r)?(s=a.get(r))==null||s.add(1):a.set(r,new It(n,1)),t.colormap.set(e.path,n)):(a.has("Other")||a.set("Other",new It("grey",0)),t.colormap.set(e.path,"grey"))}function zC(e,t,r,n){var b,w,A,k;let a=(b=t.unionedAuthors)==null?void 0:b[n],s;try{if(!a||(s=Object.entries(a).sort(([x,M],[T,$])=>{if(M===0||$===0||!x||!T)throw Error;return M<$?1:M>$?-1:0}),!s[0]))throw Error}catch{return}let[f]=s[0],d=r.legend,m=(w=e.get(f))!=null?w:"grey";if(r.colormap.set(t.path,m),(A=t.dominantAuthor)==null||A.set(n,s[0]),d.has(f)){(k=d.get(f))==null||k.add(1);return}d.set(f,new It(m,1))}function VC(e,t,r){var b,w;let n="red",a="hsl(210, 38%, 85%)",s="teal",f=(w=(b=e.unionedAuthors)==null?void 0:b[r])!=null?w:{},d=0;for(let[,A]of Object.entries(f))d+=A;let m=t.legend;if(d===0){m.set("No authors",new It(s,0)),t.colormap.set(e.path,s);return}if(!f)throw Error("No unioned authors found");switch(Object.keys(f).length){case 1:m.set("Single author",new It(n,2)),t.colormap.set(e.path,n);return;default:m.set("Multiple authors",new It(a,1)),t.colormap.set(e.path,a);return}}var gi=class{constructor(t,r,n,a){this.scale=(a-n)/(r-t),this.offset=t*this.scale-n,this.target_max=a,this.target_min=n}translate(t){return t*this.scale-this.offset}inverseTranslate(t){return this.target_max-this.translate(t)+this.target_min}},Yu=class{constructor(t,r){this.min_lightness=50;this.max_lightness=90;this.translator=new gi(t,r,this.min_lightness,this.max_lightness)}getColor(t){return`hsl(240,100%,${this.translator.inverseTranslate(t)}%)`}setColor(t,r){var n;r.colormap.set(t.path,this.getColor((n=t.lastChangeEpoch)!=null?n:0))}},Zu=class{constructor(t,r){this.min_lightness=50;this.max_lightness=95;this.translator=new gi(t,r,this.min_lightness,this.max_lightness)}getColor(t){return`hsl(0,100%,${this.translator.inverseTranslate(t)}%)`}setColor(t,r){r.colormap.set(t.path,this.getColor(t.noCommits))}};var bi={BUBBLE_CHART:"Bubble chart",TREE_MAP:"Tree map"},vi=(0,En.createContext)(void 0);function Pe(){let e=(0,En.useContext)(vi);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e}function bt(){return{metricType:Object.keys(nr)[0],chartType:Object.keys(bi)[0],authorshipType:Object.keys(Wu)[0],animationsEnabled:!0,setChartType:()=>{throw new Error("No chartTypeSetter provided")},setMetricType:()=>{throw new Error("No metricTypeSetter provided")},setAuthorshipType:()=>{throw new Error("No AuthorshipTypeSetter provided")},setAnimationsEnabled:()=>{throw new Error("No animationsEnabledSetter provided")}}}v();var jn=ee(he()),yi=(0,jn.createContext)(void 0);function Re(){let e=(0,jn.useContext)(yi);if(!e)throw new Error("useSearch must be used within a PathProvider");return e}v();var rc={},ec=new WeakMap,tc={metric:[{from:0,to:1e3,unit:"B",long:"bytes"},{from:1e3,to:1e6,unit:"kB",long:"kilobytes"},{from:1e6,to:1e9,unit:"MB",long:"megabytes"},{from:1e9,to:1e12,unit:"GB",long:"gigabytes"},{from:1e12,to:1e15,unit:"TB",long:"terabytes"},{from:1e15,to:1e18,unit:"PB",long:"petabytes"},{from:1e18,to:1e21,unit:"EB",long:"exabytes"},{from:1e21,to:1e24,unit:"ZB",long:"zettabytes"},{from:1e24,to:1e27,unit:"YB",long:"yottabytes"}],metric_octet:[{from:0,to:1e3,unit:"o",long:"octets"},{from:1e3,to:1e6,unit:"ko",long:"kilooctets"},{from:1e6,to:1e9,unit:"Mo",long:"megaoctets"},{from:1e9,to:1e12,unit:"Go",long:"gigaoctets"},{from:1e12,to:1e15,unit:"To",long:"teraoctets"},{from:1e15,to:1e18,unit:"Po",long:"petaoctets"},{from:1e18,to:1e21,unit:"Eo",long:"exaoctets"},{from:1e21,to:1e24,unit:"Zo",long:"zettaoctets"},{from:1e24,to:1e27,unit:"Yo",long:"yottaoctets"}],iec:[{from:0,to:Math.pow(1024,1),unit:"B",long:"bytes"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"KiB",long:"kibibytes"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"MiB",long:"mebibytes"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"GiB",long:"gibibytes"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"TiB",long:"tebibytes"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"PiB",long:"pebibytes"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"EiB",long:"exbibytes"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"ZiB",long:"zebibytes"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"YiB",long:"yobibytes"}],iec_octet:[{from:0,to:Math.pow(1024,1),unit:"o",long:"octets"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"Kio",long:"kibioctets"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"Mio",long:"mebioctets"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"Gio",long:"gibioctets"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"Tio",long:"tebioctets"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"Pio",long:"pebioctets"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"Eio",long:"exbioctets"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"Zio",long:"zebioctets"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"Yio",long:"yobioctets"}]},nc=class{constructor(t,r){r=Object.assign({units:"metric",precision:1,locale:void 0},rc,r),ec.set(this,r),Object.assign(tc,r.customUnits);let n=t<0?"-":"";t=Math.abs(t);let a=tc[r.units];if(a){let s=a.find(f=>t>=f.from&&t<f.to);if(s){let f=new Intl.NumberFormat(r.locale,{style:"decimal",minimumFractionDigits:r.precision,maximumFractionDigits:r.precision}),d=s.from===0?n+t:n+f.format(t/s.from);this.value=d,this.unit=s.unit,this.long=s.long}else this.value=n+t,this.unit="",this.long=""}else throw new Error(`Invalid units specified: ${r.units}`)}toString(){let t=ec.get(this);return t.toStringFn?t.toStringFn.bind(this)():`${this.value} ${this.unit}`}};function oc(e,t){return new nc(e,t)}oc.defaultOptions=function(e){rc=e};var ic=oc;v();v();es();var $r=ee(he());var Dn=$r.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return $r.createElement(dn,cn({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 16 16"},e,{ref:t}),$r.createElement("path",{fillRule:"evenodd",d:"M3.47 7.78a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1-1.06 1.06L9 4.81v7.44a.75.75 0 0 1-1.5 0V4.81L4.53 7.78a.75.75 0 0 1-1.06 0z"}))});Dn.displayName="ArrowUp";v();es();var Lr=ee(he());var or=Lr.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return Lr.createElement(dn,cn({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 16 16"},e,{ref:t}),Lr.createElement("path",{fillRule:"evenodd",d:"M.143 2.31a.75.75 0 0 1 1.047-.167l14.5 10.5a.75.75 0 1 1-.88 1.214l-2.248-1.628C11.346 13.19 9.792 14 8 14c-1.981 0-3.67-.992-4.933-2.078C1.797 10.832.88 9.577.43 8.9a1.618 1.618 0 0 1 0-1.797c.353-.533.995-1.42 1.868-2.305L.31 3.357A.75.75 0 0 1 .143 2.31zm3.386 3.378a14.21 14.21 0 0 0-1.85 2.244.12.12 0 0 0-.022.068c0 .021.006.045.022.068.412.621 1.242 1.75 2.366 2.717C5.175 11.758 6.527 12.5 8 12.5c1.195 0 2.31-.488 3.29-1.191L9.063 9.695A2 2 0 0 1 6.058 7.52l-2.53-1.832zM8 3.5c-.516 0-1.017.09-1.499.251a.75.75 0 1 1-.473-1.423A6.23 6.23 0 0 1 8 2c1.981 0 3.67.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.619 1.619 0 0 1 0 1.798c-.11.166-.248.365-.41.587a.75.75 0 1 1-1.21-.887c.148-.201.272-.382.371-.53a.119.119 0 0 0 0-.137c-.412-.621-1.242-1.75-2.366-2.717C10.825 4.242 9.473 3.5 8 3.5z"}))});or.displayName="EyeClosed";function UC(e){let t=e.lastIndexOf("/"),r=e.lastIndexOf("\\");return t!==-1?e.slice(0,t):r!==-1?e.slice(0,r):e}function uc(e){var k;let{setClickedObject:t,clickedObject:r}=gt(),n=tr(),{authorshipType:a}=Pe(),{state:s}=pt(),{setPath:f,path:d}=Re(),{analyzerData:m}=Ae(),b=(0,Nt.useRef)(!1);if((0,Nt.useEffect)(()=>{b.current&&(t(null),b.current=!1)},[r,t,s]),(0,Nt.useEffect)(()=>{t(x=>RC(m.commit.tree,x))},[m,t]),!r)return null;let w=r.type==="blob",A=As(r.name.split("."));return u.createElement(ge,null,u.createElement(bn,{onClick:()=>t(null)}),u.createElement(mn,{title:r.name},r.name),u.createElement(V,{xl:!0}),u.createElement(tS,null,w?u.createElement(u.Fragment,null,u.createElement(YC,{size:r.sizeInBytes,isBinary:r.isBinary}),u.createElement(QC,{clickedBlob:r}),u.createElement(XC,{clickedBlob:r})):u.createElement(WC,{clickedTree:r}),u.createElement(JC,{path:r.path})),u.createElement(V,null),w?r.isBinary||rS(r.authors)?null:u.createElement(ac,{authors:(k=r.unionedAuthors)==null?void 0:k[a]}):u.createElement(ac,{authors:nS(r,a)}),u.createElement(V,{xl:!0}),u.createElement(Me,{onClick:e.showUnionAuthorsModal},u.createElement(pn,{display:"inline-block",height:"1rem"}),"Merge duplicate users"),u.createElement(V,null),w?u.createElement(u.Fragment,null,u.createElement(Ze,{method:"post",action:n.pathname},u.createElement("input",{type:"hidden",name:"ignore",value:r.path}),u.createElement(Me,{type:"submit",disabled:s!=="idle",onClick:()=>{b.current=!0}},u.createElement(or,{display:"inline-block",height:"1rem"}),"Hide this file")),r.name.includes(".")?u.createElement(u.Fragment,null,u.createElement(V,null),u.createElement(Ze,{method:"post",action:n.pathname},u.createElement("input",{type:"hidden",name:"ignore",value:`*.${A}`}),u.createElement(Me,{type:"submit",disabled:s!=="idle",onClick:()=>{b.current=!0}},u.createElement(or,{display:"inline-block",height:"1rem"}),u.createElement("span",null,"Hide .",A," files")))):null,u.createElement(V,null),u.createElement(Ze,{method:"post",action:n.pathname},u.createElement("input",{type:"hidden",name:"open",value:r.path}),u.createElement(Me,{disabled:s!=="idle"},u.createElement(ss,{display:"inline-block",height:"1rem"}),"Open file"))):u.createElement(Ze,{method:"post",action:n.pathname},u.createElement("input",{type:"hidden",name:"ignore",value:r.path}),u.createElement(Me,{type:"submit",disabled:s!=="idle",onClick:()=>{b.current=!0,f(UC(d))}},u.createElement(or,{display:"inline-block",height:"1rem"}),"Hide this folder")))}function RC(e,t){if(t===null)return null;let r=e,n=t.path.split("/");for(let a=0;a<n.length;a++)for(let s of r.children){if(s.hash===t.hash)return s;if(s.type==="tree"){let f=s.name.split("/");if(f[0]===n[a]){r=s,a+=f.length-1;break}}}return r}function WC(e){let t=e.clickedTree.children.filter(n=>n.type==="tree").length,r=e.clickedTree.children.length-t;return u.createElement(u.Fragment,null,u.createElement(tt,{grow:!0},"Files"),u.createElement(Ue,null,r),u.createElement(tt,{grow:!0},"Folders"),u.createElement(Ue,null,t))}function QC(e){return u.createElement(u.Fragment,null,u.createElement(tt,{grow:!0},"Commits"),u.createElement(Ue,null,e.clickedBlob.noCommits>0?e.clickedBlob.noCommits:0))}function XC(e){return u.createElement(u.Fragment,null,u.createElement(tt,{grow:!0},"Last changed"),u.createElement(Ue,null,Tr(e.clickedBlob.lastChangeEpoch)))}function JC(e){return u.createElement(u.Fragment,null,u.createElement(tt,null,"Located at"),u.createElement(Ue,{title:e.path},e.path))}var KC=q.span`
32
+ `;v();var kn=ee(he()),oi=(0,kn.createContext)(null);function gt(){let e=(0,kn.useContext)(oi);if(!e)throw new Error("useClickedObject must be used within a ClickedObjectProvider");return e}v();var Cn=ee(he()),ii=(0,Cn.createContext)(void 0);function Ae(){let e=(0,Cn.useContext)(ii);if(!e)throw new Error("useData must be used within a DataContext");return e}v();var En=ee(he());v();var Ru=ee(ju());v();var A0={color:"#814CCC",url:"https://github.com/trending?l=1C-Enterprise"},T0={color:"#38761D",url:"https://github.com/trending?l=2-Dimensional-Array"},P0={color:"#004289",url:"https://github.com/trending?l=4D"},_0={color:"#E8274B",url:"https://github.com/trending?l=ABAP"},$0={color:"#555e25",url:"https://github.com/trending?l=ABAP-CDS"},L0={color:"#882B0F",url:"https://github.com/trending?l=ActionScript"},O0={color:"#02f88c",url:"https://github.com/trending?l=Ada"},E0={color:"#fa0f00",url:"https://github.com/trending?l=Adobe-Font-Metrics"},j0={color:"#315665",url:"https://github.com/trending?l=Agda"},D0={color:"#B9D9FF",url:"https://github.com/trending?l=AGS-Script"},F0={color:"#34EB6B",url:"https://github.com/trending?l=AIDL"},B0={color:"#3AA2B5",url:"https://github.com/trending?l=AL"},I0={color:"#64C800",url:"https://github.com/trending?l=Alloy"},N0={color:"#0D597F",url:"https://github.com/trending?l=Alpine-Abuild"},G0={color:"#A89663",url:"https://github.com/trending?l=Altium-Designer"},H0={color:"#E6EFBB",url:"https://github.com/trending?l=AMPL"},q0={color:"#C7D7DC",url:"https://github.com/trending?l=AngelScript"},z0={color:"#A9157E",url:"https://github.com/trending?l=Ant-Build-System"},V0={color:"#9DC3FF",url:"https://github.com/trending?l=ANTLR"},U0={color:"#d12127",url:"https://github.com/trending?l=ApacheConf"},R0={color:"#1797c0",url:"https://github.com/trending?l=Apex"},W0={color:"#2ACCA8",url:"https://github.com/trending?l=API-Blueprint"},Q0={color:"#5A8164",url:"https://github.com/trending?l=APL"},X0={color:"#0B3D91",url:"https://github.com/trending?l=Apollo-Guidance-Computer"},J0={color:"#101F1F",url:"https://github.com/trending?l=AppleScript"},K0={color:"#aa2afe",url:"https://github.com/trending?l=Arc"},Y0={color:"#73a0c5",url:"https://github.com/trending?l=AsciiDoc"},Z0={color:null,url:"https://github.com/trending?l=ASL"},ev={color:"#9400ff",url:"https://github.com/trending?l=ASP.NET"},tv={color:"#a957b0",url:"https://github.com/trending?l=AspectJ"},rv={color:"#6E4C13",url:"https://github.com/trending?l=Assembly"},nv={color:"#ff5a03",url:"https://github.com/trending?l=Astro"},ov={color:"#ff0000",url:"https://github.com/trending?l=Asymptote"},iv={color:"#1ac620",url:"https://github.com/trending?l=ATS"},av={color:"#9CC134",url:"https://github.com/trending?l=Augeas"},lv={color:"#6594b9",url:"https://github.com/trending?l=AutoHotkey"},sv={color:"#1C3552",url:"https://github.com/trending?l=AutoIt"},uv={color:"#0040FF",url:"https://github.com/trending?l=Avro-IDL"},cv={color:"#c30e9b",url:"https://github.com/trending?l=Awk"},fv={color:"#FF5000",url:"https://github.com/trending?l=Ballerina"},dv={color:"#ff0000",url:"https://github.com/trending?l=BASIC"},hv={color:"#C1F12E",url:"https://github.com/trending?l=Batchfile"},pv={color:"#a52f4e",url:"https://github.com/trending?l=Beef"},mv={color:null,url:"https://github.com/trending?l=Befunge"},gv={color:"#778899",url:"https://github.com/trending?l=BibTeX"},bv={color:"#519aba",url:"https://github.com/trending?l=Bicep"},vv={color:"#6A463F",url:"https://github.com/trending?l=Bison"},yv={color:"#00bce4",url:"https://github.com/trending?l=BitBake"},xv={color:"#f7523f",url:"https://github.com/trending?l=Blade"},wv={color:"#00FFAE",url:"https://github.com/trending?l=BlitzBasic"},kv={color:"#cd6400",url:"https://github.com/trending?l=BlitzMax"},Cv={color:"#12223c",url:"https://github.com/trending?l=Bluespec"},Sv={color:"#d4bec1",url:"https://github.com/trending?l=Boo"},Mv={color:"#c80fa0",url:"https://github.com/trending?l=Boogie"},Av={color:"#2F2530",url:"https://github.com/trending?l=Brainfuck"},Tv={color:"#662D91",url:"https://github.com/trending?l=Brightscript"},Pv={color:"#ffd539",url:"https://github.com/trending?l=Browserslist"},_v={color:"#555555",url:"https://github.com/trending?l=C"},$v={color:"#178600",url:"https://github.com/trending?l=Csharp"},Lv={color:"#f34b7d",url:"https://github.com/trending?l=C++"},Ov={color:null,url:"https://github.com/trending?l=C2hs-Haskell"},Ev={color:"#483465",url:"https://github.com/trending?l=Cabal-Config"},jv={color:"#ff4a48",url:"https://github.com/trending?l=Cairo"},Dv={color:"#c42727",url:"https://github.com/trending?l=Cap'n-Proto"},Fv={color:null,url:"https://github.com/trending?l=CartoCSS"},Bv={color:"#dfa535",url:"https://github.com/trending?l=Ceylon"},Iv={color:"#8dc63f",url:"https://github.com/trending?l=Chapel"},Nv={color:null,url:"https://github.com/trending?l=Charity"},Gv={color:"#3f8000",url:"https://github.com/trending?l=ChucK"},Hv={color:"#ccccff",url:"https://github.com/trending?l=Cirru"},qv={color:"#db901e",url:"https://github.com/trending?l=Clarion"},zv={color:"#5546ff",url:"https://github.com/trending?l=Clarity"},Vv={color:"#6a40fd",url:"https://github.com/trending?l=Classic-ASP"},Uv={color:"#3F85AF",url:"https://github.com/trending?l=Clean"},Rv={color:"#E4E6F3",url:"https://github.com/trending?l=Click"},Wv={color:"#00A300",url:"https://github.com/trending?l=CLIPS"},Qv={color:"#db5855",url:"https://github.com/trending?l=Clojure"},Xv={color:"#0d948f",url:"https://github.com/trending?l=Closure-Templates"},Jv={color:"#FFA000",url:"https://github.com/trending?l=Cloud-Firestore-Security-Rules"},Kv={color:"#DA3434",url:"https://github.com/trending?l=CMake"},Yv={color:null,url:"https://github.com/trending?l=COBOL"},Zv={color:"#140f46",url:"https://github.com/trending?l=CodeQL"},e1={color:"#244776",url:"https://github.com/trending?l=CoffeeScript"},t1={color:"#ed2cd6",url:"https://github.com/trending?l=ColdFusion"},r1={color:"#ed2cd6",url:"https://github.com/trending?l=ColdFusion-CFC"},n1={color:"#F1A42B",url:"https://github.com/trending?l=COLLADA"},o1={color:"#3fb68b",url:"https://github.com/trending?l=Common-Lisp"},i1={color:"#B5314C",url:"https://github.com/trending?l=Common-Workflow-Language"},a1={color:"#B0CE4E",url:"https://github.com/trending?l=Component-Pascal"},l1={color:null,url:"https://github.com/trending?l=Cool"},s1={color:"#d0b68c",url:"https://github.com/trending?l=Coq"},u1={color:"#000100",url:"https://github.com/trending?l=Crystal"},c1={color:"#244776",url:"https://github.com/trending?l=CSON"},f1={color:"#1a1a1a",url:"https://github.com/trending?l=Csound"},d1={color:"#1a1a1a",url:"https://github.com/trending?l=Csound-Document"},h1={color:"#1a1a1a",url:"https://github.com/trending?l=Csound-Score"},p1={color:"#563d7c",url:"https://github.com/trending?l=CSS"},m1={color:"#237346",url:"https://github.com/trending?l=CSV"},g1={color:"#3A4E3A",url:"https://github.com/trending?l=Cuda"},b1={color:"#5886E1",url:"https://github.com/trending?l=CUE"},v1={color:"#531242",url:"https://github.com/trending?l=Curry"},y1={color:"#00007a",url:"https://github.com/trending?l=CWeb"},x1={color:null,url:"https://github.com/trending?l=Cycript"},w1={color:"#fedf5b",url:"https://github.com/trending?l=Cython"},k1={color:"#ba595e",url:"https://github.com/trending?l=D"},C1={color:"#FFEC25",url:"https://github.com/trending?l=Dafny"},S1={color:"#8eff23",url:"https://github.com/trending?l=Darcs-Patch"},M1={color:"#00B4AB",url:"https://github.com/trending?l=Dart"},A1={color:"#003a52",url:"https://github.com/trending?l=DataWeave"},T1={color:"#D70751",url:"https://github.com/trending?l=Debian-Package-Control-File"},P1={color:"#FBEE96",url:"https://github.com/trending?l=DenizenScript"},_1={color:"#dfafff",url:"https://github.com/trending?l=Dhall"},$1={color:null,url:"https://github.com/trending?l=DIGITAL-Command-Language"},L1={color:"#aace60",url:"https://github.com/trending?l=DirectX-3D-File"},O1={color:"#447265",url:"https://github.com/trending?l=DM"},E1={color:"#384d54",url:"https://github.com/trending?l=Dockerfile"},j1={color:"#cca760",url:"https://github.com/trending?l=Dogescript"},D1={color:null,url:"https://github.com/trending?l=DTrace"},F1={color:"#6c616e",url:"https://github.com/trending?l=Dylan"},B1={color:"#ccce35",url:"https://github.com/trending?l=E"},I1={color:"#2af0ff",url:"https://github.com/trending?l=Earthly"},N1={color:"#069406",url:"https://github.com/trending?l=Easybuild"},G1={color:"#913960",url:"https://github.com/trending?l=eC"},H1={color:"#913960",url:"https://github.com/trending?l=Ecere-Projects"},q1={color:"#8a1267",url:"https://github.com/trending?l=ECL"},z1={color:"#001d9d",url:"https://github.com/trending?l=ECLiPSe"},V1={color:"#fff1f2",url:"https://github.com/trending?l=EditorConfig"},U1={color:"#4d6977",url:"https://github.com/trending?l=Eiffel"},R1={color:"#a91e50",url:"https://github.com/trending?l=EJS"},W1={color:"#6e4a7e",url:"https://github.com/trending?l=Elixir"},Q1={color:"#60B5CC",url:"https://github.com/trending?l=Elm"},X1={color:"#c065db",url:"https://github.com/trending?l=Emacs-Lisp"},J1={color:"#FFF4F3",url:"https://github.com/trending?l=EmberScript"},K1={color:"#a78649",url:"https://github.com/trending?l=EQ"},Y1={color:"#B83998",url:"https://github.com/trending?l=Erlang"},Z1={color:"#FF790B",url:"https://github.com/trending?l=Euphoria"},ey={color:"#b845fc",url:"https://github.com/trending?l=Fsharp"},ty={color:"#572e30",url:"https://github.com/trending?l=F*"},ry={color:"#636746",url:"https://github.com/trending?l=Factor"},ny={color:"#7b9db4",url:"https://github.com/trending?l=Fancy"},oy={color:"#14253c",url:"https://github.com/trending?l=Fantom"},iy={color:"#c37240",url:"https://github.com/trending?l=Faust"},ay={color:"#fff3d7",url:"https://github.com/trending?l=Fennel"},ly={color:"#FFDDBB",url:"https://github.com/trending?l=FIGlet-Font"},sy={color:"#F6B900",url:"https://github.com/trending?l=Filebench-WML"},uy={color:null,url:"https://github.com/trending?l=Filterscript"},cy={color:"#4aae47",url:"https://github.com/trending?l=fish"},fy={color:"#ffcc33",url:"https://github.com/trending?l=Fluent"},dy={color:"#88ccff",url:"https://github.com/trending?l=FLUX"},hy={color:"#341708",url:"https://github.com/trending?l=Forth"},py={color:"#4d41b1",url:"https://github.com/trending?l=Fortran"},my={color:"#4d41b1",url:"https://github.com/trending?l=Fortran-Free-Form"},gy={color:"#867db1",url:"https://github.com/trending?l=FreeBasic"},by={color:"#0050b2",url:"https://github.com/trending?l=FreeMarker"},vy={color:"#00cafe",url:"https://github.com/trending?l=Frege"},yy={color:"#5f021f",url:"https://github.com/trending?l=Futhark"},xy={color:"#D08CF2",url:"https://github.com/trending?l=G-code"},wy={color:"#71b417",url:"https://github.com/trending?l=Game-Maker-Language"},ky={color:"#FFC766",url:"https://github.com/trending?l=GAML"},Cy={color:"#f49a22",url:"https://github.com/trending?l=GAMS"},Sy={color:"#0000cc",url:"https://github.com/trending?l=GAP"},My={color:"#FFCFAB",url:"https://github.com/trending?l=GCC-Machine-Description"},Ay={color:null,url:"https://github.com/trending?l=GDB"},Ty={color:"#355570",url:"https://github.com/trending?l=GDScript"},Py={color:"#003058",url:"https://github.com/trending?l=GEDCOM"},_y={color:"#701516",url:"https://github.com/trending?l=Gemfile.lock"},$y={color:"#fb855d",url:"https://github.com/trending?l=Genie"},Ly={color:"#951531",url:"https://github.com/trending?l=Genshi"},Oy={color:"#9400ff",url:"https://github.com/trending?l=Gentoo-Ebuild"},Ey={color:"#9400ff",url:"https://github.com/trending?l=Gentoo-Eclass"},jy={color:"#d20b00",url:"https://github.com/trending?l=Gerber-Image"},Dy={color:"#5B2063",url:"https://github.com/trending?l=Gherkin"},Fy={color:"#F44D27",url:"https://github.com/trending?l=Git-Attributes"},By={color:"#F44D27",url:"https://github.com/trending?l=Git-Config"},Iy={color:"#ffaff3",url:"https://github.com/trending?l=Gleam"},Ny={color:"#5686a5",url:"https://github.com/trending?l=GLSL"},Gy={color:"#c1ac7f",url:"https://github.com/trending?l=Glyph"},Hy={color:"#f0a9f0",url:"https://github.com/trending?l=Gnuplot"},qy={color:"#00ADD8",url:"https://github.com/trending?l=Go"},zy={color:"#00ADD8",url:"https://github.com/trending?l=Go-Checksums"},Vy={color:"#00ADD8",url:"https://github.com/trending?l=Go-Module"},Uy={color:"#88562A",url:"https://github.com/trending?l=Golo"},Ry={color:"#82937f",url:"https://github.com/trending?l=Gosu"},Wy={color:"#615f8b",url:"https://github.com/trending?l=Grace"},Qy={color:"#02303a",url:"https://github.com/trending?l=Gradle"},Xy={color:"#ff0000",url:"https://github.com/trending?l=Grammatical-Framework"},Jy={color:"#e10098",url:"https://github.com/trending?l=GraphQL"},Ky={color:"#2596be",url:"https://github.com/trending?l=Graphviz-(DOT)"},Yy={color:"#4298b8",url:"https://github.com/trending?l=Groovy"},Zy={color:"#4298b8",url:"https://github.com/trending?l=Groovy-Server-Pages"},ex={color:"#FF6800",url:"https://github.com/trending?l=GSC"},tx={color:"#878787",url:"https://github.com/trending?l=Hack"},rx={color:"#ece2a9",url:"https://github.com/trending?l=Haml"},nx={color:"#f7931e",url:"https://github.com/trending?l=Handlebars"},ox={color:"#106da9",url:"https://github.com/trending?l=HAProxy"},ix={color:"#0e60e3",url:"https://github.com/trending?l=Harbour"},ax={color:"#5e5086",url:"https://github.com/trending?l=Haskell"},lx={color:"#df7900",url:"https://github.com/trending?l=Haxe"},sx={color:null,url:"https://github.com/trending?l=HCL"},ux={color:"#dce200",url:"https://github.com/trending?l=HiveQL"},cx={color:"#aace60",url:"https://github.com/trending?l=HLSL"},fx={color:"#ffefaf",url:"https://github.com/trending?l=HolyC"},dx={color:"#00b171",url:"https://github.com/trending?l=hoon"},hx={color:"#e34c26",url:"https://github.com/trending?l=HTML"},px={color:"#2e1052",url:"https://github.com/trending?l=HTML+ECR"},mx={color:"#6e4a7e",url:"https://github.com/trending?l=HTML+EEX"},gx={color:"#701516",url:"https://github.com/trending?l=HTML+ERB"},bx={color:"#4f5d95",url:"https://github.com/trending?l=HTML+PHP"},vx={color:"#512be4",url:"https://github.com/trending?l=HTML+Razor"},yx={color:"#005C9C",url:"https://github.com/trending?l=HTTP"},xx={color:"#f68712",url:"https://github.com/trending?l=HXML"},wx={color:"#7790B2",url:"https://github.com/trending?l=Hy"},kx={color:null,url:"https://github.com/trending?l=HyPhy"},Cx={color:"#a3522f",url:"https://github.com/trending?l=IDL"},Sx={color:"#b30000",url:"https://github.com/trending?l=Idris"},Mx={color:"#000000",url:"https://github.com/trending?l=Ignore-List"},Ax={color:"#0000cc",url:"https://github.com/trending?l=IGOR-Pro"},Tx={color:"#99AAFF",url:"https://github.com/trending?l=ImageJ-Macro"},Px={color:null,url:"https://github.com/trending?l=Inform-7"},_x={color:"#d1dbe0",url:"https://github.com/trending?l=INI"},$x={color:"#264b99",url:"https://github.com/trending?l=Inno-Setup"},Lx={color:"#a9188d",url:"https://github.com/trending?l=Io"},Ox={color:"#078193",url:"https://github.com/trending?l=Ioke"},Ex={color:"#FEFE00",url:"https://github.com/trending?l=Isabelle"},jx={color:"#FEFE00",url:"https://github.com/trending?l=Isabelle-ROOT"},Dx={color:"#9EEDFF",url:"https://github.com/trending?l=J"},Fx={color:"#0886a5",url:"https://github.com/trending?l=Janet"},Bx={color:"#b07219",url:"https://github.com/trending?l=JAR-Manifest"},Ix={color:"#d03600",url:"https://github.com/trending?l=Jasmin"},Nx={color:"#b07219",url:"https://github.com/trending?l=Java"},Gx={color:"#2A6277",url:"https://github.com/trending?l=Java-Properties"},Hx={color:"#2A6277",url:"https://github.com/trending?l=Java-Server-Pages"},qx={color:"#f1e05a",url:"https://github.com/trending?l=JavaScript"},zx={color:"#f1e05a",url:"https://github.com/trending?l=JavaScript+ERB"},Vx={color:"#15c213",url:"https://github.com/trending?l=Jest-Snapshot"},Ux={color:"#DBCA00",url:"https://github.com/trending?l=JFlex"},Rx={color:"#a52a22",url:"https://github.com/trending?l=Jinja"},Wx={color:"#56b3cb",url:"https://github.com/trending?l=Jison"},Qx={color:"#56b3cb",url:"https://github.com/trending?l=Jison-Lex"},Xx={color:"#843179",url:"https://github.com/trending?l=Jolie"},Jx={color:"#c7254e",url:"https://github.com/trending?l=jq"},Kx={color:"#292929",url:"https://github.com/trending?l=JSON"},Yx={color:"#292929",url:"https://github.com/trending?l=JSON-with-Comments"},Zx={color:"#267CB9",url:"https://github.com/trending?l=JSON5"},e2={color:"#40d47e",url:"https://github.com/trending?l=JSONiq"},t2={color:"#0c479c",url:"https://github.com/trending?l=JSONLD"},r2={color:"#0064bd",url:"https://github.com/trending?l=Jsonnet"},n2={color:"#a270ba",url:"https://github.com/trending?l=Julia"},o2={color:"#DA5B0B",url:"https://github.com/trending?l=Jupyter-Notebook"},i2={color:"#773b37",url:"https://github.com/trending?l=Kaitai-Struct"},a2={color:"#6f8042",url:"https://github.com/trending?l=KakouneScript"},l2={color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Layout"},s2={color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Legacy-Layout"},u2={color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Schematic"},c2={color:"#A97BFF",url:"https://github.com/trending?l=Kotlin"},f2={color:"#28430A",url:"https://github.com/trending?l=KRL"},d2={color:"#1da6e0",url:"https://github.com/trending?l=kvlang"},h2={color:"#fede06",url:"https://github.com/trending?l=LabVIEW"},p2={color:"#2980B9",url:"https://github.com/trending?l=Lark"},m2={color:"#999999",url:"https://github.com/trending?l=Lasso"},g2={color:"#f2a542",url:"https://github.com/trending?l=Latte"},b2={color:null,url:"https://github.com/trending?l=Lean"},v2={color:"#1d365d",url:"https://github.com/trending?l=Less"},y2={color:"#DBCA00",url:"https://github.com/trending?l=Lex"},x2={color:"#4C3023",url:"https://github.com/trending?l=LFE"},w2={color:"#9ccc7c",url:"https://github.com/trending?l=LilyPond"},k2={color:null,url:"https://github.com/trending?l=Limbo"},C2={color:"#67b8de",url:"https://github.com/trending?l=Liquid"},S2={color:"#315665",url:"https://github.com/trending?l=Literate-Agda"},M2={color:"#244776",url:"https://github.com/trending?l=Literate-CoffeeScript"},A2={color:"#5e5086",url:"https://github.com/trending?l=Literate-Haskell"},T2={color:"#499886",url:"https://github.com/trending?l=LiveScript"},P2={color:"#185619",url:"https://github.com/trending?l=LLVM"},_2={color:null,url:"https://github.com/trending?l=Logos"},$2={color:"#295b9a",url:"https://github.com/trending?l=Logtalk"},L2={color:"#cc9900",url:"https://github.com/trending?l=LOLCODE"},O2={color:"#652B81",url:"https://github.com/trending?l=LookML"},E2={color:null,url:"https://github.com/trending?l=LoomScript"},j2={color:"#3d9970",url:"https://github.com/trending?l=LSL"},D2={color:"#000080",url:"https://github.com/trending?l=Lua"},F2={color:null,url:"https://github.com/trending?l=M"},B2={color:null,url:"https://github.com/trending?l=M4"},I2={color:null,url:"https://github.com/trending?l=M4Sugar"},N2={color:"#d8ffff",url:"https://github.com/trending?l=Macaulay2"},G2={color:"#427819",url:"https://github.com/trending?l=Makefile"},H2={color:"#7e858d",url:"https://github.com/trending?l=Mako"},q2={color:"#083fa1",url:"https://github.com/trending?l=Markdown"},z2={color:"#42bff2",url:"https://github.com/trending?l=Marko"},V2={color:"#f97732",url:"https://github.com/trending?l=Mask"},U2={color:"#dd1100",url:"https://github.com/trending?l=Mathematica"},R2={color:"#e16737",url:"https://github.com/trending?l=MATLAB"},W2={color:"#c4a79c",url:"https://github.com/trending?l=Max"},Q2={color:"#00a6a6",url:"https://github.com/trending?l=MAXScript"},X2={color:"#E22837",url:"https://github.com/trending?l=mcfunction"},J2={color:"#ff2b2b",url:"https://github.com/trending?l=Mercury"},K2={color:"#007800",url:"https://github.com/trending?l=Meson"},Y2={color:"#8f14e9",url:"https://github.com/trending?l=Metal"},Z2={color:null,url:"https://github.com/trending?l=MiniD"},ew={color:"#ff1111",url:"https://github.com/trending?l=MiniYAML"},tw={color:"#02b046",url:"https://github.com/trending?l=Mint"},rw={color:"#c7a938",url:"https://github.com/trending?l=Mirah"},nw={color:"#3d57c3",url:"https://github.com/trending?l=mIRC-Script"},ow={color:"#5EC8DB",url:"https://github.com/trending?l=MLIR"},iw={color:"#de1d31",url:"https://github.com/trending?l=Modelica"},aw={color:"#10253f",url:"https://github.com/trending?l=Modula-2"},lw={color:"#223388",url:"https://github.com/trending?l=Modula-3"},sw={color:null,url:"https://github.com/trending?l=Module-Management-System"},uw={color:null,url:"https://github.com/trending?l=Monkey"},cw={color:null,url:"https://github.com/trending?l=Moocode"},fw={color:"#ff4585",url:"https://github.com/trending?l=MoonScript"},dw={color:"#fbb03b",url:"https://github.com/trending?l=Motoko"},hw={color:"#005daa",url:"https://github.com/trending?l=Motorola-68K-Assembly"},pw={color:"#62A8D6",url:"https://github.com/trending?l=MQL4"},mw={color:"#4A76B8",url:"https://github.com/trending?l=MQL5"},gw={color:"#b7e1f4",url:"https://github.com/trending?l=MTML"},bw={color:null,url:"https://github.com/trending?l=MUF"},vw={color:"#244963",url:"https://github.com/trending?l=mupad"},yw={color:"#724b3b",url:"https://github.com/trending?l=Mustache"},xw={color:null,url:"https://github.com/trending?l=Myghty"},ww={color:"#2d004d",url:"https://github.com/trending?l=nanorc"},kw={color:null,url:"https://github.com/trending?l=NASL"},Cw={color:"#28431f",url:"https://github.com/trending?l=NCL"},Sw={color:"#990000",url:"https://github.com/trending?l=Nearley"},Mw={color:"#3d3c6e",url:"https://github.com/trending?l=Nemerle"},Aw={color:"#94B0C7",url:"https://github.com/trending?l=nesC"},Tw={color:"#0aa0ff",url:"https://github.com/trending?l=NetLinx"},Pw={color:"#747faa",url:"https://github.com/trending?l=NetLinx+ERB"},_w={color:"#ff6375",url:"https://github.com/trending?l=NetLogo"},$w={color:"#87AED7",url:"https://github.com/trending?l=NewLisp"},Lw={color:"#3ac486",url:"https://github.com/trending?l=Nextflow"},Ow={color:"#009639",url:"https://github.com/trending?l=Nginx"},Ew={color:"#ffc200",url:"https://github.com/trending?l=Nim"},jw={color:"#009917",url:"https://github.com/trending?l=Nit"},Dw={color:"#7e7eff",url:"https://github.com/trending?l=Nix"},Fw={color:"#cb3837",url:"https://github.com/trending?l=NPM-Config"},Bw={color:null,url:"https://github.com/trending?l=NSIS"},Iw={color:"#c9df40",url:"https://github.com/trending?l=Nu"},Nw={color:"#9C8AF9",url:"https://github.com/trending?l=NumPy"},Gw={color:"#3d8137",url:"https://github.com/trending?l=Nunjucks"},Hw={color:"#111522",url:"https://github.com/trending?l=NWScript"},qw={color:"#438eff",url:"https://github.com/trending?l=Objective-C"},zw={color:"#6866fb",url:"https://github.com/trending?l=Objective-C++"},Vw={color:"#ff0c5a",url:"https://github.com/trending?l=Objective-J"},Uw={color:"#424893",url:"https://github.com/trending?l=ObjectScript"},Rw={color:"#3be133",url:"https://github.com/trending?l=OCaml"},Ww={color:"#60AFFE",url:"https://github.com/trending?l=Odin"},Qw={color:"#cabbff",url:"https://github.com/trending?l=Omgrofl"},Xw={color:"#b0b77e",url:"https://github.com/trending?l=ooc"},Jw={color:null,url:"https://github.com/trending?l=Opa"},Kw={color:"#f7ede0",url:"https://github.com/trending?l=Opal"},Yw={color:"#7d9199",url:"https://github.com/trending?l=Open-Policy-Agent"},Zw={color:"#ed2e2d",url:"https://github.com/trending?l=OpenCL"},e5={color:"#5ce600",url:"https://github.com/trending?l=OpenEdge-ABL"},t5={color:"#AA70FF",url:"https://github.com/trending?l=OpenQASM"},r5={color:null,url:"https://github.com/trending?l=OpenRC-runscript"},n5={color:"#e5cd45",url:"https://github.com/trending?l=OpenSCAD"},o5={color:"#77aa99",url:"https://github.com/trending?l=Org"},i5={color:null,url:"https://github.com/trending?l=Ox"},a5={color:"#cdd0e3",url:"https://github.com/trending?l=Oxygene"},l5={color:"#fab738",url:"https://github.com/trending?l=Oz"},s5={color:"#7055b5",url:"https://github.com/trending?l=P4"},u5={color:"#cc0000",url:"https://github.com/trending?l=Pan"},c5={color:"#6600cc",url:"https://github.com/trending?l=Papyrus"},f5={color:"#f3ca0a",url:"https://github.com/trending?l=Parrot"},d5={color:null,url:"https://github.com/trending?l=Parrot-Assembly"},h5={color:null,url:"https://github.com/trending?l=Parrot-Internal-Representation"},p5={color:"#E3F171",url:"https://github.com/trending?l=Pascal"},m5={color:"#dbb284",url:"https://github.com/trending?l=Pawn"},g5={color:"#234d6b",url:"https://github.com/trending?l=PEG.js"},b5={color:"#C76F5B",url:"https://github.com/trending?l=Pep8"},v5={color:"#0298c3",url:"https://github.com/trending?l=Perl"},y5={color:"#4F5D95",url:"https://github.com/trending?l=PHP"},x5={color:"#6067af",url:"https://github.com/trending?l=PicoLisp"},w5={color:"#fcd7de",url:"https://github.com/trending?l=PigLatin"},k5={color:"#005390",url:"https://github.com/trending?l=Pike"},C5={color:"#336790",url:"https://github.com/trending?l=PLpgSQL"},S5={color:"#dad8d8",url:"https://github.com/trending?l=PLSQL"},M5={color:"#d80074",url:"https://github.com/trending?l=PogoScript"},A5={color:null,url:"https://github.com/trending?l=Pony"},T5={color:"#dc3a0c",url:"https://github.com/trending?l=PostCSS"},P5={color:"#da291c",url:"https://github.com/trending?l=PostScript"},_5={color:"#6bac65",url:"https://github.com/trending?l=POV-Ray-SDL"},$5={color:"#8f0f8d",url:"https://github.com/trending?l=PowerBuilder"},L5={color:"#012456",url:"https://github.com/trending?l=PowerShell"},O5={color:"#0c344b",url:"https://github.com/trending?l=Prisma"},E5={color:"#0096D8",url:"https://github.com/trending?l=Processing"},j5={color:"#3B2F63",url:"https://github.com/trending?l=Procfile"},D5={color:"#74283c",url:"https://github.com/trending?l=Prolog"},F5={color:"#de0000",url:"https://github.com/trending?l=Promela"},B5={color:"#7fa2a7",url:"https://github.com/trending?l=Propeller-Spin"},I5={color:"#a86454",url:"https://github.com/trending?l=Pug"},N5={color:"#302B6D",url:"https://github.com/trending?l=Puppet"},G5={color:"#5a6986",url:"https://github.com/trending?l=PureBasic"},H5={color:"#1D222D",url:"https://github.com/trending?l=PureScript"},q5={color:"#3572A5",url:"https://github.com/trending?l=Python"},z5={color:"#3572A5",url:"https://github.com/trending?l=Python-console"},V5={color:"#3572A5",url:"https://github.com/trending?l=Python-traceback"},U5={color:"#0040cd",url:"https://github.com/trending?l=q"},R5={color:"#fed659",url:"https://github.com/trending?l=Qsharp"},W5={color:null,url:"https://github.com/trending?l=QMake"},Q5={color:"#44a51c",url:"https://github.com/trending?l=QML"},X5={color:"#00b841",url:"https://github.com/trending?l=Qt-Script"},J5={color:"#882233",url:"https://github.com/trending?l=Quake"},K5={color:"#198CE7",url:"https://github.com/trending?l=R"},Y5={color:"#3c5caa",url:"https://github.com/trending?l=Racket"},Z5={color:"#9d5200",url:"https://github.com/trending?l=Ragel"},ek={color:"#0000fb",url:"https://github.com/trending?l=Raku"},tk={color:"#77d9fb",url:"https://github.com/trending?l=RAML"},rk={color:"#fffaa0",url:"https://github.com/trending?l=Rascal"},nk={color:"#701516",url:"https://github.com/trending?l=RDoc"},ok={color:null,url:"https://github.com/trending?l=REALbasic"},ik={color:"#ff5847",url:"https://github.com/trending?l=Reason"},ak={color:"#358a5b",url:"https://github.com/trending?l=Rebol"},lk={color:"#0673ba",url:"https://github.com/trending?l=Record-Jar"},sk={color:"#f50000",url:"https://github.com/trending?l=Red"},uk={color:null,url:"https://github.com/trending?l=Redcode"},ck={color:"#009a00",url:"https://github.com/trending?l=Regular-Expression"},fk={color:"#ff7f7f",url:"https://github.com/trending?l=Ren'Py"},dk={color:null,url:"https://github.com/trending?l=RenderScript"},hk={color:"#ed5051",url:"https://github.com/trending?l=ReScript"},pk={color:"#141414",url:"https://github.com/trending?l=reStructuredText"},mk={color:"#d90e09",url:"https://github.com/trending?l=REXX"},gk={color:"#2D54CB",url:"https://github.com/trending?l=Ring"},bk={color:"#A71E49",url:"https://github.com/trending?l=Riot"},vk={color:"#198ce7",url:"https://github.com/trending?l=RMarkdown"},yk={color:"#00c0b5",url:"https://github.com/trending?l=RobotFramework"},xk={color:"#ecdebe",url:"https://github.com/trending?l=Roff"},wk={color:"#ecdebe",url:"https://github.com/trending?l=Roff-Manpage"},kk={color:"#cc0088",url:"https://github.com/trending?l=Rouge"},Ck={color:null,url:"https://github.com/trending?l=RPC"},Sk={color:"#2BDE21",url:"https://github.com/trending?l=RPGLE"},Mk={color:"#701516",url:"https://github.com/trending?l=Ruby"},Ak={color:"#665a4e",url:"https://github.com/trending?l=RUNOFF"},Tk={color:"#dea584",url:"https://github.com/trending?l=Rust"},Pk={color:null,url:"https://github.com/trending?l=Sage"},_k={color:"#646464",url:"https://github.com/trending?l=SaltStack"},$k={color:"#B34936",url:"https://github.com/trending?l=SAS"},Lk={color:"#a53b70",url:"https://github.com/trending?l=Sass"},Ok={color:"#c22d40",url:"https://github.com/trending?l=Scala"},Ek={color:"#bd181a",url:"https://github.com/trending?l=Scaml"},jk={color:"#1e4aec",url:"https://github.com/trending?l=Scheme"},Dk={color:"#ca0f21",url:"https://github.com/trending?l=Scilab"},Fk={color:"#c6538c",url:"https://github.com/trending?l=SCSS"},Bk={color:"#64b970",url:"https://github.com/trending?l=sed"},Ik={color:"#0579aa",url:"https://github.com/trending?l=Self"},Nk={color:"#222c37",url:"https://github.com/trending?l=ShaderLab"},Gk={color:"#89e051",url:"https://github.com/trending?l=Shell"},Hk={color:"#cecfcb",url:"https://github.com/trending?l=ShellCheck-Config"},qk={color:null,url:"https://github.com/trending?l=ShellSession"},zk={color:"#120F14",url:"https://github.com/trending?l=Shen"},Vk={color:null,url:"https://github.com/trending?l=Sieve"},Uk={color:"#64E6AD",url:"https://github.com/trending?l=Singularity"},Rk={color:"#007eff",url:"https://github.com/trending?l=Slash"},Wk={color:"#003fa2",url:"https://github.com/trending?l=Slice"},Qk={color:"#2b2b2b",url:"https://github.com/trending?l=Slim"},Xk={color:null,url:"https://github.com/trending?l=Smali"},Jk={color:"#596706",url:"https://github.com/trending?l=Smalltalk"},Kk={color:"#f0c040",url:"https://github.com/trending?l=Smarty"},Yk={color:"#c94949",url:"https://github.com/trending?l=SmPL"},Zk={color:null,url:"https://github.com/trending?l=SMT"},e3={color:"#AA6746",url:"https://github.com/trending?l=Solidity"},t3={color:"#f69e1d",url:"https://github.com/trending?l=SourcePawn"},r3={color:"#0C4597",url:"https://github.com/trending?l=SPARQL"},n3={color:"#3F3F3F",url:"https://github.com/trending?l=SQF"},o3={color:"#e38c00",url:"https://github.com/trending?l=SQL"},i3={color:"#e38c00",url:"https://github.com/trending?l=SQLPL"},a3={color:"#800000",url:"https://github.com/trending?l=Squirrel"},l3={color:"#348a34",url:"https://github.com/trending?l=SRecode-Template"},s3={color:"#b2011d",url:"https://github.com/trending?l=Stan"},u3={color:"#dc566d",url:"https://github.com/trending?l=Standard-ML"},c3={color:"#76d275",url:"https://github.com/trending?l=Starlark"},f3={color:"#1a5f91",url:"https://github.com/trending?l=Stata"},d3={color:"#3fb34f",url:"https://github.com/trending?l=StringTemplate"},h3={color:"#ff6347",url:"https://github.com/trending?l=Stylus"},p3={color:"#9e0101",url:"https://github.com/trending?l=SubRip-Text"},m3={color:"#2fcc9f",url:"https://github.com/trending?l=SugarSS"},g3={color:"#46390b",url:"https://github.com/trending?l=SuperCollider"},b3={color:"#ff3e00",url:"https://github.com/trending?l=Svelte"},v3={color:"#ff9900",url:"https://github.com/trending?l=SVG"},y3={color:"#F05138",url:"https://github.com/trending?l=Swift"},x3={color:null,url:"https://github.com/trending?l=SWIG"},w3={color:"#DAE1C2",url:"https://github.com/trending?l=SystemVerilog"},k3={color:"#e4cc98",url:"https://github.com/trending?l=Tcl"},C3={color:null,url:"https://github.com/trending?l=Tcsh"},S3={color:"#00004c",url:"https://github.com/trending?l=Terra"},M3={color:"#3D6117",url:"https://github.com/trending?l=TeX"},A3={color:"#ffe7ac",url:"https://github.com/trending?l=Textile"},T3={color:"#df66e4",url:"https://github.com/trending?l=TextMate-Properties"},P3={color:"#D12127",url:"https://github.com/trending?l=Thrift"},_3={color:"#A0AA87",url:"https://github.com/trending?l=TI-Program"},$3={color:"#4b0079",url:"https://github.com/trending?l=TLA"},L3={color:"#9c4221",url:"https://github.com/trending?l=TOML"},O3={color:"#e38c00",url:"https://github.com/trending?l=TSQL"},E3={color:"#237346",url:"https://github.com/trending?l=TSV"},j3={color:"#2b7489",url:"https://github.com/trending?l=TSX"},D3={color:"#cf142b",url:"https://github.com/trending?l=Turing"},F3={color:"#c1d026",url:"https://github.com/trending?l=Twig"},B3={color:"#0178b8",url:"https://github.com/trending?l=TXL"},I3={color:"#2b7489",url:"https://github.com/trending?l=TypeScript"},N3={color:"#4e3617",url:"https://github.com/trending?l=Unified-Parallel-C"},G3={color:"#222c37",url:"https://github.com/trending?l=Unity3D-Asset"},H3={color:null,url:"https://github.com/trending?l=Unix-Assembly"},q3={color:"#9933cc",url:"https://github.com/trending?l=Uno"},z3={color:"#a54c4d",url:"https://github.com/trending?l=UnrealScript"},V3={color:"#ccccee",url:"https://github.com/trending?l=UrWeb"},U3={color:"#4f87c4",url:"https://github.com/trending?l=V"},R3={color:"#fbe5cd",url:"https://github.com/trending?l=Vala"},W3={color:"#f26025",url:"https://github.com/trending?l=Valve-Data-Format"},Q3={color:"#867db1",url:"https://github.com/trending?l=VBA"},X3={color:"#15dcdc",url:"https://github.com/trending?l=VBScript"},J3={color:"#148AA8",url:"https://github.com/trending?l=VCL"},K3={color:"#b2b7f8",url:"https://github.com/trending?l=Verilog"},Y3={color:"#adb2cb",url:"https://github.com/trending?l=VHDL"},Z3={color:"#199f4b",url:"https://github.com/trending?l=Vim-Help-File"},eC={color:"#199f4b",url:"https://github.com/trending?l=Vim-Script"},tC={color:"#199f4b",url:"https://github.com/trending?l=Vim-Snippet"},rC={color:"#945db7",url:"https://github.com/trending?l=Visual-Basic-.NET"},nC={color:"#1F1F1F",url:"https://github.com/trending?l=Volt"},oC={color:"#41b883",url:"https://github.com/trending?l=Vue"},iC={color:"#2980b9",url:"https://github.com/trending?l=Vyper"},aC={color:"#42f1f4",url:"https://github.com/trending?l=wdl"},lC={color:"#5b70bd",url:"https://github.com/trending?l=Web-Ontology-Language"},sC={color:"#04133b",url:"https://github.com/trending?l=WebAssembly"},uC={color:null,url:"https://github.com/trending?l=WebIDL"},cC={color:"#fc5757",url:"https://github.com/trending?l=Wikitext"},fC={color:"#52d5ff",url:"https://github.com/trending?l=Windows-Registry-Entries"},dC={color:"#7582D1",url:"https://github.com/trending?l=wisp"},hC={color:"#ff0000",url:"https://github.com/trending?l=Witcher-Script"},pC={color:"#a23738",url:"https://github.com/trending?l=Wollok"},mC={color:"#f7e43f",url:"https://github.com/trending?l=World-of-Warcraft-Addon-Data"},gC={color:"#4B6BEF",url:"https://github.com/trending?l=X10"},bC={color:"#403a40",url:"https://github.com/trending?l=xBase"},vC={color:"#99DA07",url:"https://github.com/trending?l=XC"},yC={color:"#0060ac",url:"https://github.com/trending?l=XML"},xC={color:"#0060ac",url:"https://github.com/trending?l=XML-Property-List"},wC={color:"#81bd41",url:"https://github.com/trending?l=Xojo"},kC={color:"#285EEF",url:"https://github.com/trending?l=Xonsh"},CC={color:null,url:"https://github.com/trending?l=XProc"},SC={color:"#5232e7",url:"https://github.com/trending?l=XQuery"},MC={color:null,url:"https://github.com/trending?l=XS"},AC={color:"#EB8CEB",url:"https://github.com/trending?l=XSLT"},TC={color:"#24255d",url:"https://github.com/trending?l=Xtend"},PC={color:"#4B6C4B",url:"https://github.com/trending?l=Yacc"},_C={color:"#cb171e",url:"https://github.com/trending?l=YAML"},$C={color:"#220000",url:"https://github.com/trending?l=YARA"},LC={color:"#32AB90",url:"https://github.com/trending?l=YASnippet"},OC={color:"#0d665e",url:"https://github.com/trending?l=ZAP"},EC={color:null,url:"https://github.com/trending?l=Zeek"},jC={color:"#00BCD1",url:"https://github.com/trending?l=ZenScript"},DC={color:"#118f9e",url:"https://github.com/trending?l=Zephir"},FC={color:"#ec915c",url:"https://github.com/trending?l=Zig"},BC={color:"#dc75e5",url:"https://github.com/trending?l=ZIL"},IC={color:"#d67711",url:"https://github.com/trending?l=Zimpl"},Du={"1C Enterprise":A0,"2-Dimensional Array":T0,"4D":P0,ABAP:_0,"ABAP CDS":$0,ActionScript:L0,Ada:O0,"Adobe Font Metrics":E0,Agda:j0,"AGS Script":D0,AIDL:F0,AL:B0,Alloy:I0,"Alpine Abuild":N0,"Altium Designer":G0,AMPL:H0,AngelScript:q0,"Ant Build System":z0,ANTLR:V0,ApacheConf:U0,Apex:R0,"API Blueprint":W0,APL:Q0,"Apollo Guidance Computer":X0,AppleScript:J0,Arc:K0,AsciiDoc:Y0,ASL:Z0,"ASP.NET":ev,AspectJ:tv,Assembly:rv,Astro:nv,Asymptote:ov,ATS:iv,Augeas:av,AutoHotkey:lv,AutoIt:sv,"Avro IDL":uv,Awk:cv,Ballerina:fv,BASIC:dv,Batchfile:hv,Beef:pv,Befunge:mv,BibTeX:gv,Bicep:bv,Bison:vv,BitBake:yv,Blade:xv,BlitzBasic:wv,BlitzMax:kv,Bluespec:Cv,Boo:Sv,Boogie:Mv,Brainfuck:Av,Brightscript:Tv,Browserslist:Pv,C:_v,"C#":$v,"C++":Lv,"C2hs Haskell":Ov,"Cabal Config":Ev,Cairo:jv,"Cap'n Proto":Dv,CartoCSS:Fv,Ceylon:Bv,Chapel:Iv,Charity:Nv,ChucK:Gv,Cirru:Hv,Clarion:qv,Clarity:zv,"Classic ASP":Vv,Clean:Uv,Click:Rv,CLIPS:Wv,Clojure:Qv,"Closure Templates":Xv,"Cloud Firestore Security Rules":Jv,CMake:Kv,COBOL:Yv,CodeQL:Zv,CoffeeScript:e1,ColdFusion:t1,"ColdFusion CFC":r1,COLLADA:n1,"Common Lisp":o1,"Common Workflow Language":i1,"Component Pascal":a1,Cool:l1,Coq:s1,Crystal:u1,CSON:c1,Csound:f1,"Csound Document":d1,"Csound Score":h1,CSS:p1,CSV:m1,Cuda:g1,CUE:b1,Curry:v1,CWeb:y1,Cycript:x1,Cython:w1,D:k1,Dafny:C1,"Darcs Patch":S1,Dart:M1,DataWeave:A1,"Debian Package Control File":T1,DenizenScript:P1,Dhall:_1,"DIGITAL Command Language":$1,"DirectX 3D File":L1,DM:O1,Dockerfile:E1,Dogescript:j1,DTrace:D1,Dylan:F1,E:B1,Earthly:I1,Easybuild:N1,eC:G1,"Ecere Projects":H1,ECL:q1,ECLiPSe:z1,EditorConfig:V1,Eiffel:U1,EJS:R1,Elixir:W1,Elm:Q1,"Emacs Lisp":X1,EmberScript:J1,EQ:K1,Erlang:Y1,Euphoria:Z1,"F#":ey,"F*":ty,Factor:ry,Fancy:ny,Fantom:oy,Faust:iy,Fennel:ay,"FIGlet Font":ly,"Filebench WML":sy,Filterscript:uy,fish:cy,Fluent:fy,FLUX:dy,Forth:hy,Fortran:py,"Fortran Free Form":my,FreeBasic:gy,FreeMarker:by,Frege:vy,Futhark:yy,"G-code":xy,"Game Maker Language":wy,GAML:ky,GAMS:Cy,GAP:Sy,"GCC Machine Description":My,GDB:Ay,GDScript:Ty,GEDCOM:Py,"Gemfile.lock":_y,Genie:$y,Genshi:Ly,"Gentoo Ebuild":Oy,"Gentoo Eclass":Ey,"Gerber Image":jy,Gherkin:Dy,"Git Attributes":Fy,"Git Config":By,Gleam:Iy,GLSL:Ny,Glyph:Gy,Gnuplot:Hy,Go:qy,"Go Checksums":zy,"Go Module":Vy,Golo:Uy,Gosu:Ry,Grace:Wy,Gradle:Qy,"Grammatical Framework":Xy,GraphQL:Jy,"Graphviz (DOT)":Ky,Groovy:Yy,"Groovy Server Pages":Zy,GSC:ex,Hack:tx,Haml:rx,Handlebars:nx,HAProxy:ox,Harbour:ix,Haskell:ax,Haxe:lx,HCL:sx,HiveQL:ux,HLSL:cx,HolyC:fx,hoon:dx,HTML:hx,"HTML+ECR":px,"HTML+EEX":mx,"HTML+ERB":gx,"HTML+PHP":bx,"HTML+Razor":vx,HTTP:yx,HXML:xx,Hy:wx,HyPhy:kx,IDL:Cx,Idris:Sx,"Ignore List":Mx,"IGOR Pro":Ax,"ImageJ Macro":Tx,"Inform 7":Px,INI:_x,"Inno Setup":$x,Io:Lx,Ioke:Ox,Isabelle:Ex,"Isabelle ROOT":jx,J:Dx,Janet:Fx,"JAR Manifest":Bx,Jasmin:Ix,Java:Nx,"Java Properties":Gx,"Java Server Pages":Hx,JavaScript:qx,"JavaScript+ERB":zx,"Jest Snapshot":Vx,JFlex:Ux,Jinja:Rx,Jison:Wx,"Jison Lex":Qx,Jolie:Xx,jq:Jx,JSON:Kx,"JSON with Comments":Yx,JSON5:Zx,JSONiq:e2,JSONLD:t2,Jsonnet:r2,Julia:n2,"Jupyter Notebook":o2,"Kaitai Struct":i2,KakouneScript:a2,"KiCad Layout":l2,"KiCad Legacy Layout":s2,"KiCad Schematic":u2,Kotlin:c2,KRL:f2,kvlang:d2,LabVIEW:h2,Lark:p2,Lasso:m2,Latte:g2,Lean:b2,Less:v2,Lex:y2,LFE:x2,LilyPond:w2,Limbo:k2,Liquid:C2,"Literate Agda":S2,"Literate CoffeeScript":M2,"Literate Haskell":A2,LiveScript:T2,LLVM:P2,Logos:_2,Logtalk:$2,LOLCODE:L2,LookML:O2,LoomScript:E2,LSL:j2,Lua:D2,M:F2,M4:B2,M4Sugar:I2,Macaulay2:N2,Makefile:G2,Mako:H2,Markdown:q2,Marko:z2,Mask:V2,Mathematica:U2,MATLAB:R2,Max:W2,MAXScript:Q2,mcfunction:X2,Mercury:J2,Meson:K2,Metal:Y2,MiniD:Z2,MiniYAML:ew,Mint:tw,Mirah:rw,"mIRC Script":nw,MLIR:ow,Modelica:iw,"Modula-2":aw,"Modula-3":lw,"Module Management System":sw,Monkey:uw,Moocode:cw,MoonScript:fw,Motoko:dw,"Motorola 68K Assembly":hw,MQL4:pw,MQL5:mw,MTML:gw,MUF:bw,mupad:vw,Mustache:yw,Myghty:xw,nanorc:ww,NASL:kw,NCL:Cw,Nearley:Sw,Nemerle:Mw,nesC:Aw,NetLinx:Tw,"NetLinx+ERB":Pw,NetLogo:_w,NewLisp:$w,Nextflow:Lw,Nginx:Ow,Nim:Ew,Nit:jw,Nix:Dw,"NPM Config":Fw,NSIS:Bw,Nu:Iw,NumPy:Nw,Nunjucks:Gw,NWScript:Hw,"Objective-C":qw,"Objective-C++":zw,"Objective-J":Vw,ObjectScript:Uw,OCaml:Rw,Odin:Ww,Omgrofl:Qw,ooc:Xw,Opa:Jw,Opal:Kw,"Open Policy Agent":Yw,OpenCL:Zw,"OpenEdge ABL":e5,OpenQASM:t5,"OpenRC runscript":r5,OpenSCAD:n5,Org:o5,Ox:i5,Oxygene:a5,Oz:l5,P4:s5,Pan:u5,Papyrus:c5,Parrot:f5,"Parrot Assembly":d5,"Parrot Internal Representation":h5,Pascal:p5,Pawn:m5,"PEG.js":g5,Pep8:b5,Perl:v5,PHP:y5,PicoLisp:x5,PigLatin:w5,Pike:k5,PLpgSQL:C5,PLSQL:S5,PogoScript:M5,Pony:A5,PostCSS:T5,PostScript:P5,"POV-Ray SDL":_5,PowerBuilder:$5,PowerShell:L5,Prisma:O5,Processing:E5,Procfile:j5,Prolog:D5,Promela:F5,"Propeller Spin":B5,Pug:I5,Puppet:N5,PureBasic:G5,PureScript:H5,Python:q5,"Python console":z5,"Python traceback":V5,q:U5,"Q#":R5,QMake:W5,QML:Q5,"Qt Script":X5,Quake:J5,R:K5,Racket:Y5,Ragel:Z5,Raku:ek,RAML:tk,Rascal:rk,RDoc:nk,REALbasic:ok,Reason:ik,Rebol:ak,"Record Jar":lk,Red:sk,Redcode:uk,"Regular Expression":ck,"Ren'Py":fk,RenderScript:dk,ReScript:hk,reStructuredText:pk,REXX:mk,Ring:gk,Riot:bk,RMarkdown:vk,RobotFramework:yk,Roff:xk,"Roff Manpage":wk,Rouge:kk,RPC:Ck,RPGLE:Sk,Ruby:Mk,RUNOFF:Ak,Rust:Tk,Sage:Pk,SaltStack:_k,SAS:$k,Sass:Lk,Scala:Ok,Scaml:Ek,Scheme:jk,Scilab:Dk,SCSS:Fk,sed:Bk,Self:Ik,ShaderLab:Nk,Shell:Gk,"ShellCheck Config":Hk,ShellSession:qk,Shen:zk,Sieve:Vk,Singularity:Uk,Slash:Rk,Slice:Wk,Slim:Qk,Smali:Xk,Smalltalk:Jk,Smarty:Kk,SmPL:Yk,SMT:Zk,Solidity:e3,SourcePawn:t3,SPARQL:r3,SQF:n3,SQL:o3,SQLPL:i3,Squirrel:a3,"SRecode Template":l3,Stan:s3,"Standard ML":u3,Starlark:c3,Stata:f3,StringTemplate:d3,Stylus:h3,"SubRip Text":p3,SugarSS:m3,SuperCollider:g3,Svelte:b3,SVG:v3,Swift:y3,SWIG:x3,SystemVerilog:w3,Tcl:k3,Tcsh:C3,Terra:S3,TeX:M3,Textile:A3,"TextMate Properties":T3,Thrift:P3,"TI Program":_3,TLA:$3,TOML:L3,TSQL:O3,TSV:E3,TSX:j3,Turing:D3,Twig:F3,TXL:B3,TypeScript:I3,"Unified Parallel C":N3,"Unity3D Asset":G3,"Unix Assembly":H3,Uno:q3,UnrealScript:z3,UrWeb:V3,V:U3,Vala:R3,"Valve Data Format":W3,VBA:Q3,VBScript:X3,VCL:J3,Verilog:K3,VHDL:Y3,"Vim Help File":Z3,"Vim Script":eC,"Vim Snippet":tC,"Visual Basic .NET":rC,Volt:nC,Vue:oC,Vyper:iC,wdl:aC,"Web Ontology Language":lC,WebAssembly:sC,WebIDL:uC,Wikitext:cC,"Windows Registry Entries":fC,wisp:dC,"Witcher Script":hC,Wollok:pC,"World of Warcraft Addon Data":mC,X10:gC,xBase:bC,XC:vC,XML:yC,"XML Property List":xC,Xojo:wC,Xonsh:kC,XProc:CC,XQuery:SC,XS:MC,XSLT:AC,Xtend:TC,Yacc:PC,YAML:_C,YARA:$C,YASnippet:LC,ZAP:OC,Zeek:EC,ZenScript:jC,Zephir:DC,Zig:FC,ZIL:BC,Zimpl:IC};var Hu=ee(Gu()),qu=new Map;for(let[e,t]of Object.entries(Du))qu.set(e.toLowerCase(),{...t,lang:e});function zu(e){let t=Hu.default.languages(e.toLowerCase()),r=[];if(!t)return null;let n=null;for(let a of t){let s=qu.get(a);if(s){n=s,r.push(n.lang);break}}return n?n.color:null}var Wu={HISTORICAL:"Complete history",BLAME:"Newest version"},nr={FILE_EXTENSION:"File extension",MOST_COMMITS:"Most commits",LAST_CHANGED:"Last changed",SINGLE_AUTHOR:"Single author",TOP_CONTRIBUTOR:"Top contributor"};function Qu(e){let t=HC(e);return{HISTORICAL:Uu(e.commit.tree,Vu(e,"HISTORICAL",t)),BLAME:Uu(e.commit.tree,Vu(e,"BLAME",t))}}function Xu(e,t){switch(e){case"FILE_EXTENSION":return"Where are different types of files located?";case"MOST_COMMITS":return"Which files have had the most commits, throughout the repository's history?";case"LAST_CHANGED":return"Where are the most recent or least recent commits made?";case"SINGLE_AUTHOR":return t==="HISTORICAL"?"Which files are authored by only one person, throughout the repository's history?":"Which files are authored by only one person, in the newest version?";case"TOP_CONTRIBUTOR":return t==="HISTORICAL"?"Which person has made the most line-changes to a file, throughout the repository's history?":"Which person has made the most line-changes to a file, in the newest version?";default:throw new Error("Uknown metric type: "+e)}}function Ju(e){switch(e){case"FILE_EXTENSION":case"TOP_CONTRIBUTOR":case"SINGLE_AUTHOR":return!1;case"LAST_CHANGED":case"MOST_COMMITS":return!0;default:throw new Error("Uknown metric type: "+e)}}var It=class{constructor(t,r){this.color=t;this.weight=r}add(t){this.weight+=t}};function HC(e){let t={};for(let f of e.authors)t[f]=0;let r=e.authors,n=(0,Ru.default)({count:r.length}),a=0,s=new Map;for(let f of r){let d=n[a++].rgb(!0),m=`rgb(${d[0]},${d[1]},${d[2]})`;s.set(f,m)}return s}function Vu(e,t,r){let n=e.commit,a=new Zu(n.minNoCommits,n.maxNoCommits),s=new Yu(n.oldestLatestChangeEpoch,n.newestLatestChangeEpoch);return[["FILE_EXTENSION",(f,d)=>{d.legend||(d.legend=new Map),qC(f,d)}],["SINGLE_AUTHOR",(f,d)=>{d.legend||(d.legend=new Map),VC(f,d,t)}],["MOST_COMMITS",(f,d)=>{d.legend||(d.legend=[`${n.minNoCommits}`,`${n.maxNoCommits}`,void 0,void 0,a.getColor(n.minNoCommits),a.getColor(n.maxNoCommits)]),a.setColor(f,d)}],["LAST_CHANGED",(f,d)=>{d.legend||(d.legend=[Pr(n.oldestLatestChangeEpoch),Pr(n.newestLatestChangeEpoch),Tr(n.oldestLatestChangeEpoch),Tr(n.newestLatestChangeEpoch),s.getColor(n.oldestLatestChangeEpoch),s.getColor(n.newestLatestChangeEpoch)]),s.setColor(f,d)}],["TOP_CONTRIBUTOR",(f,d)=>{f.dominantAuthor||(f.dominantAuthor=new Map),d.legend||(d.legend=new Map),zC(r,f,d,t)}]]}function Uu(e,t){let r=new Map;return Ku(e,t,r),r}function Ku(e,t,r){var n;for(let a of e.children)switch(a.type){case"tree":Ku(a,t,r);break;case"blob":for(let[s,f]of t)r.has(s)||r.set(s,{legend:void 0,colormap:new Map}),f(a,(n=r.get(s))!=null?n:{legend:void 0,colormap:new Map});break}}function qC(e,t){var s;let r=e.name.substring(e.name.lastIndexOf(".")+1),n=zu(r),a=t.legend;n?(a.has(r)?(s=a.get(r))==null||s.add(1):a.set(r,new It(n,1)),t.colormap.set(e.path,n)):(a.has("Other")||a.set("Other",new It("grey",0)),t.colormap.set(e.path,"grey"))}function zC(e,t,r,n){var b,w,A,k;let a=(b=t.unionedAuthors)==null?void 0:b[n],s;try{if(!a||(s=Object.entries(a).sort(([x,M],[T,$])=>{if(M===0||$===0||!x||!T)throw Error;return M<$?1:M>$?-1:0}),!s[0]))throw Error}catch{return}let[f]=s[0],d=r.legend,m=(w=e.get(f))!=null?w:"grey";if(r.colormap.set(t.path,m),(A=t.dominantAuthor)==null||A.set(n,s[0]),d.has(f)){(k=d.get(f))==null||k.add(1);return}d.set(f,new It(m,1))}function VC(e,t,r){var b,w;let n="red",a="hsl(210, 38%, 85%)",s="teal",f=(w=(b=e.unionedAuthors)==null?void 0:b[r])!=null?w:{},d=0;for(let[,A]of Object.entries(f))d+=A;let m=t.legend;if(d===0){m.set("No authors",new It(s,0)),t.colormap.set(e.path,s);return}if(!f)throw Error("No unioned authors found");switch(Object.keys(f).length){case 1:m.set("Single author",new It(n,2)),t.colormap.set(e.path,n);return;default:m.set("Multiple authors",new It(a,1)),t.colormap.set(e.path,a);return}}var gi=class{constructor(t,r,n,a){this.scale=(a-n)/(r-t),this.offset=t*this.scale-n,this.target_max=a,this.target_min=n}translate(t){return t*this.scale-this.offset}inverseTranslate(t){return this.target_max-this.translate(t)+this.target_min}},Yu=class{constructor(t,r){this.min_lightness=50;this.max_lightness=90;this.translator=new gi(t,r,this.min_lightness,this.max_lightness)}getColor(t){return`hsl(240,100%,${this.translator.inverseTranslate(t)}%)`}setColor(t,r){var n;r.colormap.set(t.path,this.getColor((n=t.lastChangeEpoch)!=null?n:0))}},Zu=class{constructor(t,r){this.min_lightness=50;this.max_lightness=95;this.translator=new gi(t,r,this.min_lightness,this.max_lightness)}getColor(t){return`hsl(0,100%,${this.translator.inverseTranslate(t)}%)`}setColor(t,r){r.colormap.set(t.path,this.getColor(t.noCommits))}};var bi={BUBBLE_CHART:"Bubble chart",TREE_MAP:"Tree map"},vi=(0,En.createContext)(void 0);function Pe(){let e=(0,En.useContext)(vi);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e}function bt(){return{metricType:Object.keys(nr)[0],chartType:Object.keys(bi)[0],authorshipType:Object.keys(Wu)[0],animationsEnabled:!0,setChartType:()=>{throw new Error("No chartTypeSetter provided")},setMetricType:()=>{throw new Error("No metricTypeSetter provided")},setAuthorshipType:()=>{throw new Error("No AuthorshipTypeSetter provided")},setAnimationsEnabled:()=>{throw new Error("No animationsEnabledSetter provided")}}}v();var jn=ee(he()),yi=(0,jn.createContext)(void 0);function Re(){let e=(0,jn.useContext)(yi);if(!e)throw new Error("useSearch must be used within a PathProvider");return e}v();var rc={},ec=new WeakMap,tc={metric:[{from:0,to:1e3,unit:"B",long:"bytes"},{from:1e3,to:1e6,unit:"kB",long:"kilobytes"},{from:1e6,to:1e9,unit:"MB",long:"megabytes"},{from:1e9,to:1e12,unit:"GB",long:"gigabytes"},{from:1e12,to:1e15,unit:"TB",long:"terabytes"},{from:1e15,to:1e18,unit:"PB",long:"petabytes"},{from:1e18,to:1e21,unit:"EB",long:"exabytes"},{from:1e21,to:1e24,unit:"ZB",long:"zettabytes"},{from:1e24,to:1e27,unit:"YB",long:"yottabytes"}],metric_octet:[{from:0,to:1e3,unit:"o",long:"octets"},{from:1e3,to:1e6,unit:"ko",long:"kilooctets"},{from:1e6,to:1e9,unit:"Mo",long:"megaoctets"},{from:1e9,to:1e12,unit:"Go",long:"gigaoctets"},{from:1e12,to:1e15,unit:"To",long:"teraoctets"},{from:1e15,to:1e18,unit:"Po",long:"petaoctets"},{from:1e18,to:1e21,unit:"Eo",long:"exaoctets"},{from:1e21,to:1e24,unit:"Zo",long:"zettaoctets"},{from:1e24,to:1e27,unit:"Yo",long:"yottaoctets"}],iec:[{from:0,to:Math.pow(1024,1),unit:"B",long:"bytes"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"KiB",long:"kibibytes"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"MiB",long:"mebibytes"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"GiB",long:"gibibytes"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"TiB",long:"tebibytes"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"PiB",long:"pebibytes"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"EiB",long:"exbibytes"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"ZiB",long:"zebibytes"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"YiB",long:"yobibytes"}],iec_octet:[{from:0,to:Math.pow(1024,1),unit:"o",long:"octets"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"Kio",long:"kibioctets"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"Mio",long:"mebioctets"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"Gio",long:"gibioctets"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"Tio",long:"tebioctets"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"Pio",long:"pebioctets"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"Eio",long:"exbioctets"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"Zio",long:"zebioctets"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"Yio",long:"yobioctets"}]},nc=class{constructor(t,r){r=Object.assign({units:"metric",precision:1,locale:void 0},rc,r),ec.set(this,r),Object.assign(tc,r.customUnits);let n=t<0?"-":"";t=Math.abs(t);let a=tc[r.units];if(a){let s=a.find(f=>t>=f.from&&t<f.to);if(s){let f=new Intl.NumberFormat(r.locale,{style:"decimal",minimumFractionDigits:r.precision,maximumFractionDigits:r.precision}),d=s.from===0?n+t:n+f.format(t/s.from);this.value=d,this.unit=s.unit,this.long=s.long}else this.value=n+t,this.unit="",this.long=""}else throw new Error(`Invalid units specified: ${r.units}`)}toString(){let t=ec.get(this);return t.toStringFn?t.toStringFn.bind(this)():`${this.value} ${this.unit}`}};function oc(e,t){return new nc(e,t)}oc.defaultOptions=function(e){rc=e};var ic=oc;v();v();es();var $r=ee(he());var Dn=$r.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return $r.createElement(dn,cn({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 16 16"},e,{ref:t}),$r.createElement("path",{fillRule:"evenodd",d:"M3.47 7.78a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1-1.06 1.06L9 4.81v7.44a.75.75 0 0 1-1.5 0V4.81L4.53 7.78a.75.75 0 0 1-1.06 0z"}))});Dn.displayName="ArrowUp";v();es();var Lr=ee(he());var or=Lr.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return Lr.createElement(dn,cn({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 16 16"},e,{ref:t}),Lr.createElement("path",{fillRule:"evenodd",d:"M.143 2.31a.75.75 0 0 1 1.047-.167l14.5 10.5a.75.75 0 1 1-.88 1.214l-2.248-1.628C11.346 13.19 9.792 14 8 14c-1.981 0-3.67-.992-4.933-2.078C1.797 10.832.88 9.577.43 8.9a1.618 1.618 0 0 1 0-1.797c.353-.533.995-1.42 1.868-2.305L.31 3.357A.75.75 0 0 1 .143 2.31zm3.386 3.378a14.21 14.21 0 0 0-1.85 2.244.12.12 0 0 0-.022.068c0 .021.006.045.022.068.412.621 1.242 1.75 2.366 2.717C5.175 11.758 6.527 12.5 8 12.5c1.195 0 2.31-.488 3.29-1.191L9.063 9.695A2 2 0 0 1 6.058 7.52l-2.53-1.832zM8 3.5c-.516 0-1.017.09-1.499.251a.75.75 0 1 1-.473-1.423A6.23 6.23 0 0 1 8 2c1.981 0 3.67.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.619 1.619 0 0 1 0 1.798c-.11.166-.248.365-.41.587a.75.75 0 1 1-1.21-.887c.148-.201.272-.382.371-.53a.119.119 0 0 0 0-.137c-.412-.621-1.242-1.75-2.366-2.717C10.825 4.242 9.473 3.5 8 3.5z"}))});or.displayName="EyeClosed";function UC(e){let t=e.lastIndexOf("/"),r=e.lastIndexOf("\\");return t!==-1?e.slice(0,t):r!==-1?e.slice(0,r):e}function uc(e){var k;let{setClickedObject:t,clickedObject:r}=gt(),n=tr(),{authorshipType:a}=Pe(),{state:s}=pt(),{setPath:f,path:d}=Re(),{analyzerData:m}=Ae(),b=(0,Nt.useRef)(!1);if((0,Nt.useEffect)(()=>{b.current&&(t(null),b.current=!1)},[r,t,s]),(0,Nt.useEffect)(()=>{t(x=>RC(m.commit.tree,x))},[m,t]),!r)return null;let w=r.type==="blob",A=As(r.name.split("."));return u.createElement(ge,null,u.createElement(bn,{onClick:()=>t(null)}),u.createElement(mn,{title:r.name},r.name),u.createElement(V,{xl:!0}),u.createElement(tS,null,w?u.createElement(u.Fragment,null,u.createElement(YC,{size:r.sizeInBytes,isBinary:r.isBinary}),u.createElement(QC,{clickedBlob:r}),u.createElement(XC,{clickedBlob:r})):u.createElement(WC,{clickedTree:r}),u.createElement(JC,{path:r.path})),u.createElement(V,null),w?u.createElement(ac,{authors:(k=r.unionedAuthors)==null?void 0:k[a]}):u.createElement(ac,{authors:nS(r,a)}),u.createElement(V,{xl:!0}),u.createElement(Me,{onClick:e.showUnionAuthorsModal},u.createElement(pn,{display:"inline-block",height:"1rem"}),"Merge duplicate users"),u.createElement(V,null),w?u.createElement(u.Fragment,null,u.createElement(Ze,{method:"post",action:n.pathname},u.createElement("input",{type:"hidden",name:"ignore",value:r.path}),u.createElement(Me,{type:"submit",disabled:s!=="idle",onClick:()=>{b.current=!0}},u.createElement(or,{display:"inline-block",height:"1rem"}),"Hide this file")),r.name.includes(".")?u.createElement(u.Fragment,null,u.createElement(V,null),u.createElement(Ze,{method:"post",action:n.pathname},u.createElement("input",{type:"hidden",name:"ignore",value:`*.${A}`}),u.createElement(Me,{type:"submit",disabled:s!=="idle",onClick:()=>{b.current=!0}},u.createElement(or,{display:"inline-block",height:"1rem"}),u.createElement("span",null,"Hide .",A," files")))):null,u.createElement(V,null),u.createElement(Ze,{method:"post",action:n.pathname},u.createElement("input",{type:"hidden",name:"open",value:r.path}),u.createElement(Me,{disabled:s!=="idle"},u.createElement(ss,{display:"inline-block",height:"1rem"}),"Open file"))):u.createElement(Ze,{method:"post",action:n.pathname},u.createElement("input",{type:"hidden",name:"ignore",value:r.path}),u.createElement(Me,{type:"submit",disabled:s!=="idle",onClick:()=>{b.current=!0,f(UC(d))}},u.createElement(or,{display:"inline-block",height:"1rem"}),"Hide this folder")))}function RC(e,t){if(t===null)return null;let r=e,n=t.path.split("/");for(let a=0;a<n.length;a++)for(let s of r.children){if(s.hash===t.hash)return s;if(s.type==="tree"){let f=s.name.split("/");if(f[0]===n[a]){r=s,a+=f.length-1;break}}}return r}function WC(e){let t=e.clickedTree.children.filter(n=>n.type==="tree").length,r=e.clickedTree.children.length-t;return u.createElement(u.Fragment,null,u.createElement(tt,{grow:!0},"Files"),u.createElement(Ue,null,r),u.createElement(tt,{grow:!0},"Folders"),u.createElement(Ue,null,t))}function QC(e){return u.createElement(u.Fragment,null,u.createElement(tt,{grow:!0},"Commits"),u.createElement(Ue,null,e.clickedBlob.noCommits>0?e.clickedBlob.noCommits:0))}function XC(e){return u.createElement(u.Fragment,null,u.createElement(tt,{grow:!0},"Last changed"),u.createElement(Ue,null,Tr(e.clickedBlob.lastChangeEpoch)))}function JC(e){return u.createElement(u.Fragment,null,u.createElement(tt,null,"Located at"),u.createElement(Ue,{title:e.path},e.path))}var KC=q.span`
33
33
  opacity: 0.5;
34
34
  `;function YC(e){var r;let t=ic((r=e.size)!=null?r:0);return u.createElement(u.Fragment,null,u.createElement(tt,{grow:!0},"Size"),u.createElement(Ue,null,t.value," ",t.unit," ",u.createElement(KC,null,e.isBinary?u.createElement(u.Fragment,null,u.createElement("br",null),"(binary file)"):null)))}var ZC=q.div`
35
35
  display: flex;
36
36
  flex-direction: row;
37
37
  justify-content: space-between;
38
- `,Fn=2;function ac(e){let[t,r]=(0,Nt.useState)(!0),n=Object.entries(eS(e.authors)).sort((a,s)=>a[1]<s[1]?1:-1);return n.length===0?null:n.length<=Fn+1?u.createElement(u.Fragment,null,u.createElement(lc,null,"Author distribution"),u.createElement(V,null),u.createElement(sc,null,u.createElement(xn,{show:!0,items:n}))):u.createElement(u.Fragment,null,u.createElement(ZC,null,u.createElement(lc,null,"Author distribution"),u.createElement(Is,{relative:!0,collapse:t,toggle:()=>r(!t)})),u.createElement(V,{xs:!0}),u.createElement(sc,null,u.createElement(xn,{show:!0,items:n.slice(0,Fn)}),u.createElement(xn,{show:!t,items:n.slice(Fn)}),u.createElement(V,null),u.createElement(Bs,{show:t,items:n.slice(Fn),toggle:()=>r(!t)})))}function eS(e){if(!e)throw Error("unionedAuthors is undefined");let t=Object.values(e).reduce((n,a)=>n+a,0);return Object.entries(e).reduce((n,[a,s])=>{let f=s/t;return{...n,[a]:f}},{})}var lc=q.h3`
38
+ `,Fn=2;function ac(e){let[t,r]=(0,Nt.useState)(!0),n=Object.entries(eS(e.authors)).sort((a,s)=>a[1]<s[1]?1:-1);return n.length<=Fn+1?u.createElement(u.Fragment,null,u.createElement(lc,null,"Author distribution"),u.createElement(V,null),u.createElement(sc,null,n.length>0&&!rS(e.authors)?u.createElement(xn,{show:!0,items:n}):u.createElement("p",null,"No authors found"))):u.createElement(u.Fragment,null,u.createElement(ZC,null,u.createElement(lc,null,"Author distribution"),u.createElement(Is,{relative:!0,collapse:t,toggle:()=>r(!t)})),u.createElement(V,{xs:!0}),u.createElement(sc,null,u.createElement(xn,{show:!0,items:n.slice(0,Fn)}),u.createElement(xn,{show:!t,items:n.slice(Fn)}),u.createElement(V,null),u.createElement(Bs,{show:t,items:n.slice(Fn),toggle:()=>r(!t)})))}function eS(e){if(!e)throw Error("unionedAuthors is undefined");let t=Object.values(e).reduce((n,a)=>n+a,0);return Object.entries(e).reduce((n,[a,s])=>{let f=s/t;return{...n,[a]:f}},{})}var lc=q.h3`
39
39
  font-size: calc(var(--unit) * 2);
40
40
  padding-top: calc(var(--unit));
41
41
  padding-bottom: calc(var(--unit) * 0.5);
@@ -51,7 +51,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
51
51
  display: grid;
52
52
  grid-template-columns: auto 1fr;
53
53
  gap: var(--unit) calc(var(--unit) * 3);
54
- `;function rS(e){let t=Object.entries(e);for(let[,r]of t)if(r>0)return!1;return!0}function nS(e,t){let r={};n(e);function n(a){var s,f;for(let d of a.children)if(d.type==="blob"){if(d.isBinary)continue;let m=(s=d.unionedAuthors)==null?void 0:s[t];if(!m)throw Error("No unioned authors");for(let[b,w]of Object.entries(m))r[b]=((f=r[b])!=null?f:0)+w}else d.type==="tree"&&n(d)}return r}v();var Or=ee(he());var oS="Git Truck",iS="Analyzing | Git Truck";function cc(){var m,b;let{analyzerData:e,repo:t}=Ae(),r=pt(),n=tr(),a=ts(),[s,f]=(0,Or.useState)(!1);(0,Or.useEffect)(()=>{document.title=s?iS:oS},[s]);let d=w=>{f(!0),a(["",t.name,w].join("/"))};return(0,Or.useEffect)(()=>{r.state==="idle"&&f(!1)},[r.state]),u.createElement(ge,null,u.createElement(ws,null,u.createElement(lS,{to:"..",title:"See all repositories"},u.createElement(hn,{display:"inline-block",height:"1rem"}),u.createElement(aS,null,"See more repositories"))),u.createElement(V,null),u.createElement(mn,null,t.name),u.createElement(V,null),u.createElement(_s,{key:t.currentHead,disabled:s,onChange:w=>d(w.target.value),defaultValue:e.branch,headGroups:t.refs,analyzedHeads:t.analyzedHeads}),u.createElement(V,null),u.createElement("strong",null,"Analyzed: "),u.createElement("span",null,Ms(e.lastRunEpoch)),u.createElement(V,null),u.createElement("strong",null,"As of commit: "),u.createElement("span",{title:(m=e.commit.message)!=null?m:"No commit message"},e.commit.hash.slice(0,7)),u.createElement(V,null),u.createElement("strong",null,"Files analyzed: "),u.createElement("span",null,(b=e.commit.fileCount)!=null?b:0),u.createElement(V,{xl:!0}),u.createElement(Ze,{method:"post",action:n.pathname,onSubmit:()=>{f(!0)}},u.createElement("input",{type:"hidden",name:"refresh",value:"true"}),u.createElement(Me,{disabled:r.state!=="idle"},u.createElement(cs,{display:"inline-block",height:"1rem"}),s?"Analyzing...":"Reanalyze")))}var aS=q.p`
54
+ `;function rS(e){if(!e)return!0;let t=Object.entries(e);for(let[,r]of t)if(r>0)return!1;return!0}function nS(e,t){let r={};n(e);function n(a){var s,f;for(let d of a.children)if(d.type==="blob"){let m=(s=d.unionedAuthors)==null?void 0:s[t];if(!m)throw Error("No unioned authors");for(let[b,w]of Object.entries(m))r[b]=((f=r[b])!=null?f:0)+w}else d.type==="tree"&&n(d)}return r}v();var Or=ee(he());var oS="Git Truck",iS="Analyzing | Git Truck";function cc(){var m,b;let{analyzerData:e,repo:t}=Ae(),r=pt(),n=tr(),a=ts(),[s,f]=(0,Or.useState)(!1);(0,Or.useEffect)(()=>{document.title=s?iS:oS},[s]);let d=w=>{f(!0),a(["",t.name,w].join("/"))};return(0,Or.useEffect)(()=>{r.state==="idle"&&f(!1)},[r.state]),u.createElement(ge,null,u.createElement(ws,null,u.createElement(lS,{to:"..",title:"See all repositories"},u.createElement(hn,{display:"inline-block",height:"1rem"}),u.createElement(aS,null,"See more repositories"))),u.createElement(V,null),u.createElement(mn,null,t.name),u.createElement(V,null),u.createElement(_s,{key:t.currentHead,disabled:s,onChange:w=>d(w.target.value),defaultValue:e.branch,headGroups:t.refs,analyzedHeads:t.analyzedHeads}),u.createElement(V,null),u.createElement("strong",null,"Analyzed: "),u.createElement("span",null,Ms(e.lastRunEpoch)),u.createElement(V,null),u.createElement("strong",null,"As of commit: "),u.createElement("span",{title:(m=e.commit.message)!=null?m:"No commit message"},e.commit.hash.slice(0,7)),u.createElement(V,null),u.createElement("strong",null,"Files analyzed: "),u.createElement("span",null,(b=e.commit.fileCount)!=null?b:0),u.createElement(V,{xl:!0}),u.createElement(Ze,{method:"post",action:n.pathname,onSubmit:()=>{f(!0)}},u.createElement("input",{type:"hidden",name:"refresh",value:"true"}),u.createElement(Me,{disabled:r.state!=="idle"},u.createElement(cs,{display:"inline-block",height:"1rem"}),s?"Analyzing...":"Reanalyze")))}var aS=q.p`
55
55
  margin-left: var(--unit);
56
56
  `,lS=q(Sr)`
57
57
  display: inline-flex;