better_gerrit_home 0.1.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f76267dbb191b296ceaf44763544458b38a87d1774525ed37cfbd1deea02920d
4
- data.tar.gz: 0bcf21854d8319226fb4b4694c9e2c03372dddc42dc1eadf95db85a0a7c0c295
3
+ metadata.gz: 7756c1a17c974b4b29da9aefff251e04b924ab6d85b4e5611974f6499fec50f3
4
+ data.tar.gz: c3f1332ab0db1c45278aa19f0e14d61b5273110a99bab9e25e2a14c30d626d19
5
5
  SHA512:
6
- metadata.gz: 8721171adfd9fe1d332c12be1bc8c48d2f4fbcd6765ed6da34d57e58ce2f729c14d05ea7914f3013dbf885123bcd3192b8f47550e623a144dfcd210feb77e11e
7
- data.tar.gz: 323f03c83e92bd53ba5c72c4040d6ba7b39c95721df14afe3aadb83853f32974bacaa4687722e025d7c51b481748c0afc7cd3dcb3dfad0cc111e7d2d8b12f983
6
+ metadata.gz: cf5c573ae589840e9ec425f4fc1eb843a2e1040e0f072a85184970a2499a9975fecf9209f1470a8b33db85754b8ebc1cbbb4ddc91efa5c570c467b16e13a096f
7
+ data.tar.gz: 363efb3acfe230548fa8912645af9948cf5ba243d9f5a1d1431919067f05a1cfd4cd84a7d89cde61ec4b90a6cce4b99b660714a98c8d623ed9781d9c3fc0135f
@@ -1,3 +1,3 @@
1
- .size-bar-wrapper.svelte-rdtr17.svelte-rdtr17{width:100px}.size-bar-inner.svelte-rdtr17.svelte-rdtr17{background-color:red;height:20px}header.svelte-rdtr17.svelte-rdtr17{background-color:rgb(60, 64, 67);color:rgb(232, 234, 237);padding:12px;font-size:24.5px}table.svelte-rdtr17.svelte-rdtr17{padding:8px;width:100%;border-collapse:collapse}th.svelte-rdtr17.svelte-rdtr17{background-color:#131416;color:#e8eaed;text-align:left;padding:12px 4px;border-top:1px solid #5f6368;border-bottom:1px solid #5f6368}.border-left.svelte-rdtr17.svelte-rdtr17{border-left:1px solid #5f6368;text-align:center}tr.svelte-rdtr17.svelte-rdtr17{padding:4px;background-color:#131416}.tr-header.svelte-rdtr17.svelte-rdtr17{padding:4px;color:#ced0d3;background-color:#343537}td.svelte-rdtr17.svelte-rdtr17{padding:4px;color:rgb(218, 220, 224);border-bottom:1px solid #5f6368}.td-first.svelte-rdtr17.svelte-rdtr17{padding-left:16px}td.svelte-rdtr17 div[role="img"].svelte-rdtr17{width:20px;height:20px;text-align:center;margin:auto;color:black}a.svelte-rdtr17.svelte-rdtr17{color:rgb(218, 220, 224)}td.svelte-rdtr17 a b.svelte-rdtr17{font-weight:900}
1
+ .size-bar-wrapper.svelte-yng6tp.svelte-yng6tp{width:100px}.size-bar-inner.svelte-yng6tp.svelte-yng6tp{background-color:red;height:20px}header.svelte-yng6tp.svelte-yng6tp{background-color:rgb(60, 64, 67);color:rgb(232, 234, 237);padding:12px;font-size:24.5px}table.svelte-yng6tp.svelte-yng6tp{padding:8px;width:100%;border-collapse:collapse}th.svelte-yng6tp.svelte-yng6tp{background-color:#131416;color:#e8eaed;text-align:left;padding:12px 4px;border-top:1px solid #5f6368;border-bottom:1px solid #5f6368}.border-left.svelte-yng6tp.svelte-yng6tp{border-left:1px solid #5f6368;text-align:center}tr.svelte-yng6tp.svelte-yng6tp{padding:4px;background-color:#131416}.updated.svelte-yng6tp.svelte-yng6tp{text-align:center;margin-top:16px;color:rgb(218, 220, 224)}.tr-header.svelte-yng6tp.svelte-yng6tp{padding:4px;color:#ced0d3;background-color:#343537}td.svelte-yng6tp.svelte-yng6tp{padding:4px;color:rgb(218, 220, 224);border-bottom:1px solid #5f6368}.td-first.svelte-yng6tp.svelte-yng6tp{padding-left:16px}td.svelte-yng6tp div[role="img"].svelte-yng6tp{width:20px;height:20px;text-align:center;margin:auto;color:black}a.svelte-yng6tp.svelte-yng6tp{color:rgb(218, 220, 224)}td.svelte-yng6tp a b.svelte-yng6tp{font-weight:900}.refreshing.svelte-yng6tp.svelte-yng6tp{color:white;position:fixed;top:50px;left:50%;background-color:#515355ed;padding:20px;border-radius:5px;height:20px;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.loader.svelte-yng6tp.svelte-yng6tp{display:inline-block;font-size:2px;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:svelte-yng6tp-load5 1.1s infinite ease;animation:svelte-yng6tp-load5 1.1s infinite ease;-webkit-transform:translateY(-5px);-ms-transform:translateY(-5px);transform:translateY(-5px);margin-left:10px}@-webkit-keyframes svelte-yng6tp-load5{0%,100%{box-shadow:0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7)}12.5%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5)}25%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}37.5%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}50%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}62.5%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}75%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}87.5%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff}}@keyframes svelte-yng6tp-load5{0%,100%{box-shadow:0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7)}12.5%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5)}25%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}37.5%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}50%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}62.5%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}75%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2)}87.5%{box-shadow:0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff}}
2
2
 
3
3
  /*# sourceMappingURL=bundle.css.map */
@@ -5,8 +5,8 @@
5
5
  "../../js/App.svelte"
6
6
  ],
7
7
  "sourcesContent": [
8
- "\n\n\n
\n
BetterGerrit
\n \n \n \n \n \n \n \n \n \n \n \n \n \n {#each [[\"mine\", \"My Changes\"], [\"others\", \"Others' Changes\"], [\"closed\", \"Closed\"]] as section}\n \n {#each patchSets[section[0]] as p}\n \n \n \n \n \n \n \n \n \n \n \n \n {/each}\n {/each}\n
SubjectStatusOwnerRepoUpdatedSizeCRPRQAV
{section[1]}
\n {#if p.changed_after_self_activity && section[0] !== \"closed\"}\n {p.subject}\n {:else}\n {p.subject}\n {/if}\n {p.status}{p.owner_name}{p.project}{moment.utc(p.updated_at).local().fromNow()}
\n
{reviewText(p.reviews.cr)}
\n
\n
{reviewText(p.reviews.pr)}
\n
\n
{reviewText(p.reviews.qa)}
\n
\n
{reviewText(p.reviews.v, true)}
\n
\n
\n\n\n"
8
+ "\n\n\n
\n
BetterGerrit
\n {#if refreshing}\n
Refreshing
\n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {#each [[\"mine\", \"My Changes\"], [\"others\", \"Others' Changes\"], [\"closed\", \"Closed\"]] as section (section[0])}\n \n {#each patchSets[section[0]] as p (p.id)}\n \n \n \n \n \n \n \n \n \n \n \n \n {/each}\n {/each}\n
SubjectStatusOwnerRepoUpdatedSizeCRPRQAV
{section[1]}
\n {#if p.changed_after_self_activity && section[0] !== \"closed\"}\n {p.subject}\n {:else}\n {p.subject}\n {/if}\n {p.status}{p.owner_name}{p.project}{moment.utc(p.updated_at).local().fromNow()}
\n
{reviewText(p.reviews.cr)}
\n
\n
{reviewText(p.reviews.pr)}
\n
\n
{reviewText(p.reviews.qa)}
\n
\n
{reviewText(p.reviews.v, true)}
\n
\n {#if updatedAtText}\n
Updated {updatedAtText}
\n {/if}\n
\n\n\n"
9
9
  ],
10
10
  "names": [],
11
- "mappings": "AAyHE,iBAAiB,4BAAC,CAAC,AACjB,KAAK,CAAE,KAAK,AACd,CAAC,AACD,eAAe,4BAAC,CAAC,AACf,gBAAgB,CAAE,GAAG,CACrB,MAAM,CAAE,IAAI,AACd,CAAC,AACD,MAAM,4BAAC,CAAC,AACN,gBAAgB,CAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CACjC,KAAK,CAAE,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CACzB,OAAO,CAAE,IAAI,CACb,SAAS,CAAE,MAAM,AACnB,CAAC,AACD,KAAK,4BAAC,CAAC,AACL,OAAO,CAAE,GAAG,CACZ,KAAK,CAAE,IAAI,CACX,eAAe,CAAE,QAAQ,AAC3B,CAAC,AACD,EAAE,4BAAC,CAAC,AACF,gBAAgB,CAAE,OAAO,CACzB,KAAK,CAAE,OAAO,CACd,UAAU,CAAE,IAAI,CAChB,OAAO,CAAE,IAAI,CAAC,GAAG,CACjB,UAAU,CAAE,GAAG,CAAC,KAAK,CAAC,OAAO,CAC7B,aAAa,CAAE,GAAG,CAAC,KAAK,CAAC,OAAO,AAClC,CAAC,AACD,YAAY,4BAAC,CAAC,AACZ,WAAW,CAAE,GAAG,CAAC,KAAK,CAAC,OAAO,CAC9B,UAAU,CAAE,MAAM,AACpB,CAAC,AACD,EAAE,4BAAC,CAAC,AACF,OAAO,CAAE,GAAG,CACZ,gBAAgB,CAAE,OAAO,AAC3B,CAAC,AACD,UAAU,4BAAC,CAAC,AACV,OAAO,CAAE,GAAG,CACZ,KA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AAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,AAC7V,CAAC,AACL,CAAC"
12
12
  }
@@ -34,12 +34,6 @@ var app = (function () {
34
34
  function detach(node) {
35
35
  node.parentNode.removeChild(node);
36
36
  }
37
- function destroy_each(iterations, detaching) {
38
- for (let i = 0; i < iterations.length; i += 1) {
39
- if (iterations[i])
40
- iterations[i].d(detaching);
41
- }
42
- }
43
37
  function element(name) {
44
38
  return document.createElement(name);
45
39
  }
@@ -152,6 +146,96 @@ var app = (function () {
152
146
  block.i(local);
153
147
  }
154
148
  }
149
+
150
+ function destroy_block(block, lookup) {
151
+ block.d(1);
152
+ lookup.delete(block.key);
153
+ }
154
+ function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {
155
+ let o = old_blocks.length;
156
+ let n = list.length;
157
+ let i = o;
158
+ const old_indexes = {};
159
+ while (i--)
160
+ old_indexes[old_blocks[i].key] = i;
161
+ const new_blocks = [];
162
+ const new_lookup = new Map();
163
+ const deltas = new Map();
164
+ i = n;
165
+ while (i--) {
166
+ const child_ctx = get_context(ctx, list, i);
167
+ const key = get_key(child_ctx);
168
+ let block = lookup.get(key);
169
+ if (!block) {
170
+ block = create_each_block(key, child_ctx);
171
+ block.c();
172
+ }
173
+ else if (dynamic) {
174
+ block.p(child_ctx, dirty);
175
+ }
176
+ new_lookup.set(key, new_blocks[i] = block);
177
+ if (key in old_indexes)
178
+ deltas.set(key, Math.abs(i - old_indexes[key]));
179
+ }
180
+ const will_move = new Set();
181
+ const did_move = new Set();
182
+ function insert(block) {
183
+ transition_in(block, 1);
184
+ block.m(node, next);
185
+ lookup.set(block.key, block);
186
+ next = block.first;
187
+ n--;
188
+ }
189
+ while (o && n) {
190
+ const new_block = new_blocks[n - 1];
191
+ const old_block = old_blocks[o - 1];
192
+ const new_key = new_block.key;
193
+ const old_key = old_block.key;
194
+ if (new_block === old_block) {
195
+ // do nothing
196
+ next = new_block.first;
197
+ o--;
198
+ n--;
199
+ }
200
+ else if (!new_lookup.has(old_key)) {
201
+ // remove old block
202
+ destroy(old_block, lookup);
203
+ o--;
204
+ }
205
+ else if (!lookup.has(new_key) || will_move.has(new_key)) {
206
+ insert(new_block);
207
+ }
208
+ else if (did_move.has(old_key)) {
209
+ o--;
210
+ }
211
+ else if (deltas.get(new_key) > deltas.get(old_key)) {
212
+ did_move.add(new_key);
213
+ insert(new_block);
214
+ }
215
+ else {
216
+ will_move.add(old_key);
217
+ o--;
218
+ }
219
+ }
220
+ while (o--) {
221
+ const old_block = old_blocks[o];
222
+ if (!new_lookup.has(old_block.key))
223
+ destroy(old_block, lookup);
224
+ }
225
+ while (n)
226
+ insert(new_blocks[n - 1]);
227
+ return new_blocks;
228
+ }
229
+ function validate_each_keys(ctx, list, get_context, get_key) {
230
+ const keys = new Set();
231
+ for (let i = 0; i < list.length; i++) {
232
+ const key = get_key(get_context(ctx, list, i));
233
+ if (keys.has(key)) {
234
+ throw new Error(`Cannot have duplicate keys in a keyed each`);
235
+ }
236
+ keys.add(key);
237
+ }
238
+ }
155
239
  function mount_component(component, target, anchor) {
156
240
  const { fragment, on_mount, on_destroy, after_update } = component.$$;
157
241
  fragment && fragment.m(target, anchor);
@@ -6006,24 +6090,357 @@ var app = (function () {
6006
6090
  })));
6007
6091
  });
6008
6092
 
6093
+ var ifvisible = createCommonjsModule(function (module, exports) {
6094
+ (function() {
6095
+ (function(root, factory) {
6096
+ {
6097
+ return module.exports = factory();
6098
+ }
6099
+ })(this, function() {
6100
+ var addEvent, customEvent, doc, hidden, idleStartedTime, idleTime, ie, ifvisible, init, initialized, status, trackIdleStatus, visibilityChange;
6101
+ ifvisible = {};
6102
+ doc = document;
6103
+ initialized = false;
6104
+ status = "active";
6105
+ idleTime = 60000;
6106
+ idleStartedTime = false;
6107
+ customEvent = (function() {
6108
+ var addCustomEvent, cgid, fireCustomEvent, listeners, removeCustomEvent;
6109
+ listeners = {};
6110
+ cgid = '__ceGUID';
6111
+ addCustomEvent = function(obj, event, callback) {
6112
+ obj[cgid] = undefined;
6113
+ if (!obj[cgid]) {
6114
+ obj[cgid] = "ifvisible.object.event.identifier";
6115
+ }
6116
+ if (!listeners[obj[cgid]]) {
6117
+ listeners[obj[cgid]] = {};
6118
+ }
6119
+ if (!listeners[obj[cgid]][event]) {
6120
+ listeners[obj[cgid]][event] = [];
6121
+ }
6122
+ return listeners[obj[cgid]][event].push(callback);
6123
+ };
6124
+ fireCustomEvent = function(obj, event, memo) {
6125
+ var ev, j, len, ref, results;
6126
+ if (obj[cgid] && listeners[obj[cgid]] && listeners[obj[cgid]][event]) {
6127
+ ref = listeners[obj[cgid]][event];
6128
+ results = [];
6129
+ for (j = 0, len = ref.length; j < len; j++) {
6130
+ ev = ref[j];
6131
+ results.push(ev(memo || {}));
6132
+ }
6133
+ return results;
6134
+ }
6135
+ };
6136
+ removeCustomEvent = function(obj, event, callback) {
6137
+ var cl, i, j, len, ref;
6138
+ if (callback) {
6139
+ if (obj[cgid] && listeners[obj[cgid]] && listeners[obj[cgid]][event]) {
6140
+ ref = listeners[obj[cgid]][event];
6141
+ for (i = j = 0, len = ref.length; j < len; i = ++j) {
6142
+ cl = ref[i];
6143
+ if (cl === callback) {
6144
+ listeners[obj[cgid]][event].splice(i, 1);
6145
+ return cl;
6146
+ }
6147
+ }
6148
+ }
6149
+ } else {
6150
+ if (obj[cgid] && listeners[obj[cgid]] && listeners[obj[cgid]][event]) {
6151
+ return delete listeners[obj[cgid]][event];
6152
+ }
6153
+ }
6154
+ };
6155
+ return {
6156
+ add: addCustomEvent,
6157
+ remove: removeCustomEvent,
6158
+ fire: fireCustomEvent
6159
+ };
6160
+ })();
6161
+ addEvent = (function() {
6162
+ var setListener;
6163
+ setListener = false;
6164
+ return function(el, ev, fn) {
6165
+ if (!setListener) {
6166
+ if (el.addEventListener) {
6167
+ setListener = function(el, ev, fn) {
6168
+ return el.addEventListener(ev, fn, false);
6169
+ };
6170
+ } else if (el.attachEvent) {
6171
+ setListener = function(el, ev, fn) {
6172
+ return el.attachEvent('on' + ev, fn, false);
6173
+ };
6174
+ } else {
6175
+ setListener = function(el, ev, fn) {
6176
+ return el['on' + ev] = fn;
6177
+ };
6178
+ }
6179
+ }
6180
+ return setListener(el, ev, fn);
6181
+ };
6182
+ })();
6183
+ ie = (function() {
6184
+ var all, check, div, undef, v;
6185
+ undef = void 0;
6186
+ v = 3;
6187
+ div = doc.createElement("div");
6188
+ all = div.getElementsByTagName("i");
6189
+ check = function() {
6190
+ return (div.innerHTML = "<!--[if gt IE " + (++v) + "]><i></i><![endif]-->", all[0]);
6191
+ };
6192
+ while (check()) {
6193
+ continue;
6194
+ }
6195
+ if (v > 4) {
6196
+ return v;
6197
+ } else {
6198
+ return undef;
6199
+ }
6200
+ })();
6201
+ hidden = false;
6202
+ visibilityChange = void 0;
6203
+ if (typeof doc.hidden !== "undefined") {
6204
+ hidden = "hidden";
6205
+ visibilityChange = "visibilitychange";
6206
+ } else if (typeof doc.mozHidden !== "undefined") {
6207
+ hidden = "mozHidden";
6208
+ visibilityChange = "mozvisibilitychange";
6209
+ } else if (typeof doc.msHidden !== "undefined") {
6210
+ hidden = "msHidden";
6211
+ visibilityChange = "msvisibilitychange";
6212
+ } else if (typeof doc.webkitHidden !== "undefined") {
6213
+ hidden = "webkitHidden";
6214
+ visibilityChange = "webkitvisibilitychange";
6215
+ }
6216
+ trackIdleStatus = function() {
6217
+ var timer, wakeUp;
6218
+ timer = false;
6219
+ wakeUp = function() {
6220
+ clearTimeout(timer);
6221
+ if (status !== "active") {
6222
+ ifvisible.wakeup();
6223
+ }
6224
+ idleStartedTime = +(new Date());
6225
+ return timer = setTimeout(function() {
6226
+ if (status === "active") {
6227
+ return ifvisible.idle();
6228
+ }
6229
+ }, idleTime);
6230
+ };
6231
+ wakeUp();
6232
+ addEvent(doc, "mousemove", wakeUp);
6233
+ addEvent(doc, "keyup", wakeUp);
6234
+ addEvent(doc, "touchstart", wakeUp);
6235
+ addEvent(window, "scroll", wakeUp);
6236
+ ifvisible.focus(wakeUp);
6237
+ return ifvisible.wakeup(wakeUp);
6238
+ };
6239
+ init = function() {
6240
+ var blur;
6241
+ if (initialized) {
6242
+ return true;
6243
+ }
6244
+ if (hidden === false) {
6245
+ blur = "blur";
6246
+ if (ie < 9) {
6247
+ blur = "focusout";
6248
+ }
6249
+ addEvent(window, blur, function() {
6250
+ return ifvisible.blur();
6251
+ });
6252
+ addEvent(window, "focus", function() {
6253
+ return ifvisible.focus();
6254
+ });
6255
+ } else {
6256
+ addEvent(doc, visibilityChange, function() {
6257
+ if (doc[hidden]) {
6258
+ return ifvisible.blur();
6259
+ } else {
6260
+ return ifvisible.focus();
6261
+ }
6262
+ }, false);
6263
+ }
6264
+ initialized = true;
6265
+ return trackIdleStatus();
6266
+ };
6267
+ ifvisible = {
6268
+ setIdleDuration: function(seconds) {
6269
+ return idleTime = seconds * 1000;
6270
+ },
6271
+ getIdleDuration: function() {
6272
+ return idleTime;
6273
+ },
6274
+ getIdleInfo: function() {
6275
+ var now, res;
6276
+ now = +(new Date());
6277
+ res = {};
6278
+ if (status === "idle") {
6279
+ res.isIdle = true;
6280
+ res.idleFor = now - idleStartedTime;
6281
+ res.timeLeft = 0;
6282
+ res.timeLeftPer = 100;
6283
+ } else {
6284
+ res.isIdle = false;
6285
+ res.idleFor = now - idleStartedTime;
6286
+ res.timeLeft = (idleStartedTime + idleTime) - now;
6287
+ res.timeLeftPer = (100 - (res.timeLeft * 100 / idleTime)).toFixed(2);
6288
+ }
6289
+ return res;
6290
+ },
6291
+ focus: function(callback) {
6292
+ if (typeof callback === "function") {
6293
+ this.on("focus", callback);
6294
+ } else {
6295
+ status = "active";
6296
+ customEvent.fire(this, "focus");
6297
+ customEvent.fire(this, "wakeup");
6298
+ customEvent.fire(this, "statusChanged", {
6299
+ status: status
6300
+ });
6301
+ }
6302
+ return this;
6303
+ },
6304
+ blur: function(callback) {
6305
+ if (typeof callback === "function") {
6306
+ this.on("blur", callback);
6307
+ } else {
6308
+ status = "hidden";
6309
+ customEvent.fire(this, "blur");
6310
+ customEvent.fire(this, "idle");
6311
+ customEvent.fire(this, "statusChanged", {
6312
+ status: status
6313
+ });
6314
+ }
6315
+ return this;
6316
+ },
6317
+ idle: function(callback) {
6318
+ if (typeof callback === "function") {
6319
+ this.on("idle", callback);
6320
+ } else {
6321
+ status = "idle";
6322
+ customEvent.fire(this, "idle");
6323
+ customEvent.fire(this, "statusChanged", {
6324
+ status: status
6325
+ });
6326
+ }
6327
+ return this;
6328
+ },
6329
+ wakeup: function(callback) {
6330
+ if (typeof callback === "function") {
6331
+ this.on("wakeup", callback);
6332
+ } else {
6333
+ status = "active";
6334
+ customEvent.fire(this, "wakeup");
6335
+ customEvent.fire(this, "statusChanged", {
6336
+ status: status
6337
+ });
6338
+ }
6339
+ return this;
6340
+ },
6341
+ on: function(name, callback) {
6342
+ init();
6343
+ customEvent.add(this, name, callback);
6344
+ return this;
6345
+ },
6346
+ off: function(name, callback) {
6347
+ init();
6348
+ customEvent.remove(this, name, callback);
6349
+ return this;
6350
+ },
6351
+ onEvery: function(seconds, callback) {
6352
+ var paused, t;
6353
+ init();
6354
+ paused = false;
6355
+ if (callback) {
6356
+ t = setInterval(function() {
6357
+ if (status === "active" && paused === false) {
6358
+ return callback();
6359
+ }
6360
+ }, seconds * 1000);
6361
+ }
6362
+ return {
6363
+ stop: function() {
6364
+ return clearInterval(t);
6365
+ },
6366
+ pause: function() {
6367
+ return paused = true;
6368
+ },
6369
+ resume: function() {
6370
+ return paused = false;
6371
+ },
6372
+ code: t,
6373
+ callback: callback
6374
+ };
6375
+ },
6376
+ now: function(check) {
6377
+ init();
6378
+ return status === (check || "active");
6379
+ }
6380
+ };
6381
+ return ifvisible;
6382
+ });
6383
+
6384
+ }).call(commonjsGlobal);
6385
+
6386
+
6387
+ });
6388
+
6009
6389
  /* src/App.svelte generated by Svelte v3.24.0 */
6010
6390
  const file = "src/App.svelte";
6011
6391
 
6012
6392
  function get_each_context_1(ctx, list, i) {
6013
6393
  const child_ctx = ctx.slice();
6014
- child_ctx[4] = list[i];
6394
+ child_ctx[9] = list[i];
6015
6395
  return child_ctx;
6016
6396
  }
6017
6397
 
6018
6398
  function get_each_context(ctx, list, i) {
6019
6399
  const child_ctx = ctx.slice();
6020
- child_ctx[1] = list[i];
6400
+ child_ctx[6] = list[i];
6021
6401
  return child_ctx;
6022
6402
  }
6023
6403
 
6024
- // (94:12) {:else}
6404
+ // (99:2) {#if refreshing}
6405
+ function create_if_block_2(ctx) {
6406
+ let div1;
6407
+ let t;
6408
+ let div0;
6409
+
6410
+ const block = {
6411
+ c: function create() {
6412
+ div1 = element("div");
6413
+ t = text("Refreshing ");
6414
+ div0 = element("div");
6415
+ attr_dev(div0, "class", "loader svelte-yng6tp");
6416
+ add_location(div0, file, 99, 39, 2379);
6417
+ attr_dev(div1, "class", "refreshing svelte-yng6tp");
6418
+ add_location(div1, file, 99, 4, 2344);
6419
+ },
6420
+ m: function mount(target, anchor) {
6421
+ insert_dev(target, div1, anchor);
6422
+ append_dev(div1, t);
6423
+ append_dev(div1, div0);
6424
+ },
6425
+ d: function destroy(detaching) {
6426
+ if (detaching) detach_dev(div1);
6427
+ }
6428
+ };
6429
+
6430
+ dispatch_dev("SvelteRegisterBlock", {
6431
+ block,
6432
+ id: create_if_block_2.name,
6433
+ type: "if",
6434
+ source: "(99:2) {#if refreshing}",
6435
+ ctx
6436
+ });
6437
+
6438
+ return block;
6439
+ }
6440
+
6441
+ // (122:12) {:else}
6025
6442
  function create_else_block(ctx) {
6026
- let t_value = /*p*/ ctx[4].subject + "";
6443
+ let t_value = /*p*/ ctx[9].subject + "";
6027
6444
  let t;
6028
6445
 
6029
6446
  const block = {
@@ -6034,7 +6451,7 @@ var app = (function () {
6034
6451
  insert_dev(target, t, anchor);
6035
6452
  },
6036
6453
  p: function update(ctx, dirty) {
6037
- if (dirty & /*patchSets*/ 1 && t_value !== (t_value = /*p*/ ctx[4].subject + "")) set_data_dev(t, t_value);
6454
+ if (dirty & /*patchSets*/ 4 && t_value !== (t_value = /*p*/ ctx[9].subject + "")) set_data_dev(t, t_value);
6038
6455
  },
6039
6456
  d: function destroy(detaching) {
6040
6457
  if (detaching) detach_dev(t);
@@ -6045,17 +6462,17 @@ var app = (function () {
6045
6462
  block,
6046
6463
  id: create_else_block.name,
6047
6464
  type: "else",
6048
- source: "(94:12) {:else}",
6465
+ source: "(122:12) {:else}",
6049
6466
  ctx
6050
6467
  });
6051
6468
 
6052
6469
  return block;
6053
6470
  }
6054
6471
 
6055
- // (92:12) {#if p.changed_after_self_activity && section[0] !== "closed"}
6056
- function create_if_block(ctx) {
6472
+ // (120:12) {#if p.changed_after_self_activity && section[0] !== "closed"}
6473
+ function create_if_block_1(ctx) {
6057
6474
  let b;
6058
- let t_value = /*p*/ ctx[4].subject + "";
6475
+ let t_value = /*p*/ ctx[9].subject + "";
6059
6476
  let t;
6060
6477
 
6061
6478
  const block = {
@@ -6063,15 +6480,15 @@ var app = (function () {
6063
6480
  b = element("b");
6064
6481
  t = text(t_value);
6065
6482
  set_style(b, "color", "rgb(232, 234, 237)");
6066
- attr_dev(b, "class", "svelte-rdtr17");
6067
- add_location(b, file, 92, 14, 2371);
6483
+ attr_dev(b, "class", "svelte-yng6tp");
6484
+ add_location(b, file, 120, 14, 3177);
6068
6485
  },
6069
6486
  m: function mount(target, anchor) {
6070
6487
  insert_dev(target, b, anchor);
6071
6488
  append_dev(b, t);
6072
6489
  },
6073
6490
  p: function update(ctx, dirty) {
6074
- if (dirty & /*patchSets*/ 1 && t_value !== (t_value = /*p*/ ctx[4].subject + "")) set_data_dev(t, t_value);
6491
+ if (dirty & /*patchSets*/ 4 && t_value !== (t_value = /*p*/ ctx[9].subject + "")) set_data_dev(t, t_value);
6075
6492
  },
6076
6493
  d: function destroy(detaching) {
6077
6494
  if (detaching) detach_dev(b);
@@ -6080,40 +6497,40 @@ var app = (function () {
6080
6497
 
6081
6498
  dispatch_dev("SvelteRegisterBlock", {
6082
6499
  block,
6083
- id: create_if_block.name,
6500
+ id: create_if_block_1.name,
6084
6501
  type: "if",
6085
- source: "(92:12) {#if p.changed_after_self_activity && section[0] !== \\\"closed\\\"}",
6502
+ source: "(120:12) {#if p.changed_after_self_activity && section[0] !== \\\"closed\\\"}",
6086
6503
  ctx
6087
6504
  });
6088
6505
 
6089
6506
  return block;
6090
6507
  }
6091
6508
 
6092
- // (89:6) {#each patchSets[section[0]] as p}
6093
- function create_each_block_1(ctx) {
6509
+ // (117:6) {#each patchSets[section[0]] as p (p.id)}
6510
+ function create_each_block_1(key_1, ctx) {
6094
6511
  let tr;
6095
6512
  let td0;
6096
6513
  let a0;
6097
6514
  let a0_href_value;
6098
6515
  let t0;
6099
6516
  let td1;
6100
- let t1_value = /*p*/ ctx[4].status + "";
6517
+ let t1_value = /*p*/ ctx[9].status + "";
6101
6518
  let t1;
6102
6519
  let t2;
6103
6520
  let td2;
6104
6521
  let a1;
6105
- let t3_value = /*p*/ ctx[4].owner_name + "";
6522
+ let t3_value = /*p*/ ctx[9].owner_name + "";
6106
6523
  let t3;
6107
6524
  let a1_href_value;
6108
6525
  let t4;
6109
6526
  let td3;
6110
6527
  let a2;
6111
- let t5_value = /*p*/ ctx[4].project + "";
6528
+ let t5_value = /*p*/ ctx[9].project + "";
6112
6529
  let t5;
6113
6530
  let a2_href_value;
6114
6531
  let t6;
6115
6532
  let td4;
6116
- let t7_value = moment.utc(/*p*/ ctx[4].updated_at).local().fromNow() + "";
6533
+ let t7_value = moment.utc(/*p*/ ctx[9].updated_at).local().fromNow() + "";
6117
6534
  let t7;
6118
6535
  let t8;
6119
6536
  let td5;
@@ -6121,34 +6538,34 @@ var app = (function () {
6121
6538
  let t9;
6122
6539
  let td6;
6123
6540
  let div1;
6124
- let t10_value = reviewText(/*p*/ ctx[4].reviews.cr) + "";
6541
+ let t10_value = reviewText(/*p*/ ctx[9].reviews.cr) + "";
6125
6542
  let t10;
6126
6543
  let div1_title_value;
6127
6544
  let td6_title_value;
6128
6545
  let t11;
6129
6546
  let td7;
6130
6547
  let div2;
6131
- let t12_value = reviewText(/*p*/ ctx[4].reviews.pr) + "";
6548
+ let t12_value = reviewText(/*p*/ ctx[9].reviews.pr) + "";
6132
6549
  let t12;
6133
6550
  let div2_title_value;
6134
6551
  let td7_title_value;
6135
6552
  let t13;
6136
6553
  let td8;
6137
6554
  let div3;
6138
- let t14_value = reviewText(/*p*/ ctx[4].reviews.qa) + "";
6555
+ let t14_value = reviewText(/*p*/ ctx[9].reviews.qa) + "";
6139
6556
  let t14;
6140
6557
  let div3_title_value;
6141
6558
  let td8_title_value;
6142
6559
  let t15;
6143
6560
  let td9;
6144
6561
  let div4;
6145
- let t16_value = reviewText(/*p*/ ctx[4].reviews.v, true) + "";
6562
+ let t16_value = reviewText(/*p*/ ctx[9].reviews.v, true) + "";
6146
6563
  let t16;
6147
6564
  let td9_title_value;
6148
6565
  let t17;
6149
6566
 
6150
6567
  function select_block_type(ctx, dirty) {
6151
- if (/*p*/ ctx[4].changed_after_self_activity && /*section*/ ctx[1][0] !== "closed") return create_if_block;
6568
+ if (/*p*/ ctx[9].changed_after_self_activity && /*section*/ ctx[6][0] !== "closed") return create_if_block_1;
6152
6569
  return create_else_block;
6153
6570
  }
6154
6571
 
@@ -6156,6 +6573,8 @@ var app = (function () {
6156
6573
  let if_block = current_block_type(ctx);
6157
6574
 
6158
6575
  const block = {
6576
+ key: key_1,
6577
+ first: null,
6159
6578
  c: function create() {
6160
6579
  tr = element("tr");
6161
6580
  td0 = element("td");
@@ -6195,65 +6614,66 @@ var app = (function () {
6195
6614
  div4 = element("div");
6196
6615
  t16 = text(t16_value);
6197
6616
  t17 = space();
6198
- attr_dev(a0, "href", a0_href_value = "" + (window.BASE_API_URL + "/c/" + /*p*/ ctx[4].project + "/+/" + /*p*/ ctx[4].id));
6199
- attr_dev(a0, "class", "svelte-rdtr17");
6200
- add_location(a0, file, 90, 31, 2226);
6201
- attr_dev(td0, "class", "td-first svelte-rdtr17");
6202
- add_location(td0, file, 90, 10, 2205);
6203
- set_style(td1, "color", statusColor(/*p*/ ctx[4].status));
6204
- attr_dev(td1, "class", "svelte-rdtr17");
6205
- add_location(td1, file, 97, 10, 2519);
6206
- attr_dev(a1, "href", a1_href_value = "" + (window.BASE_API_URL + "/q/owner:" + /*p*/ ctx[4].owner_email));
6207
- attr_dev(a1, "class", "svelte-rdtr17");
6208
- add_location(a1, file, 98, 14, 2593);
6209
- attr_dev(td2, "class", "svelte-rdtr17");
6210
- add_location(td2, file, 98, 10, 2589);
6211
- attr_dev(a2, "href", a2_href_value = "" + (window.BASE_API_URL + "/q/project:" + /*p*/ ctx[4].project));
6212
- attr_dev(a2, "class", "svelte-rdtr17");
6213
- add_location(a2, file, 99, 14, 2683);
6214
- attr_dev(td3, "class", "svelte-rdtr17");
6215
- add_location(td3, file, 99, 10, 2679);
6216
- attr_dev(td4, "class", "svelte-rdtr17");
6217
- add_location(td4, file, 100, 10, 2764);
6218
- attr_dev(div0, "class", "size-bar-inner svelte-rdtr17");
6219
- set_style(div0, "width", /*p*/ ctx[4].size + "%");
6220
- set_style(div0, "background-color", sizeBarColor(/*p*/ ctx[4].size));
6221
- add_location(div0, file, 101, 39, 2857);
6222
- attr_dev(td5, "class", "size-bar-wrapper svelte-rdtr17");
6223
- add_location(td5, file, 101, 10, 2828);
6617
+ attr_dev(a0, "href", a0_href_value = "" + (window.BASE_API_URL + "/c/" + /*p*/ ctx[9].project + "/+/" + /*p*/ ctx[9].id));
6618
+ attr_dev(a0, "class", "svelte-yng6tp");
6619
+ add_location(a0, file, 118, 31, 3032);
6620
+ attr_dev(td0, "class", "td-first svelte-yng6tp");
6621
+ add_location(td0, file, 118, 10, 3011);
6622
+ set_style(td1, "color", statusColor(/*p*/ ctx[9].status));
6623
+ attr_dev(td1, "class", "svelte-yng6tp");
6624
+ add_location(td1, file, 125, 10, 3325);
6625
+ attr_dev(a1, "href", a1_href_value = "" + (window.BASE_API_URL + "/q/owner:" + /*p*/ ctx[9].owner_email));
6626
+ attr_dev(a1, "class", "svelte-yng6tp");
6627
+ add_location(a1, file, 126, 14, 3399);
6628
+ attr_dev(td2, "class", "svelte-yng6tp");
6629
+ add_location(td2, file, 126, 10, 3395);
6630
+ attr_dev(a2, "href", a2_href_value = "" + (window.BASE_API_URL + "/q/project:" + /*p*/ ctx[9].project));
6631
+ attr_dev(a2, "class", "svelte-yng6tp");
6632
+ add_location(a2, file, 127, 14, 3489);
6633
+ attr_dev(td3, "class", "svelte-yng6tp");
6634
+ add_location(td3, file, 127, 10, 3485);
6635
+ attr_dev(td4, "class", "svelte-yng6tp");
6636
+ add_location(td4, file, 128, 10, 3570);
6637
+ attr_dev(div0, "class", "size-bar-inner svelte-yng6tp");
6638
+ set_style(div0, "width", /*p*/ ctx[9].size + "%");
6639
+ set_style(div0, "background-color", sizeBarColor(/*p*/ ctx[9].size));
6640
+ add_location(div0, file, 129, 39, 3663);
6641
+ attr_dev(td5, "class", "size-bar-wrapper svelte-yng6tp");
6642
+ add_location(td5, file, 129, 10, 3634);
6224
6643
  attr_dev(div1, "role", "img");
6225
- attr_dev(div1, "title", div1_title_value = /*p*/ ctx[4].reviews.cr.person);
6226
- attr_dev(div1, "class", "svelte-rdtr17");
6227
- add_location(div1, file, 103, 12, 3096);
6228
- attr_dev(td6, "class", "border-left svelte-rdtr17");
6229
- set_style(td6, "background-color", reviewColor(/*p*/ ctx[4].reviews.cr));
6230
- attr_dev(td6, "title", td6_title_value = /*p*/ ctx[4].reviews.cr.person);
6231
- add_location(td6, file, 102, 10, 2974);
6644
+ attr_dev(div1, "title", div1_title_value = /*p*/ ctx[9].reviews.cr.person);
6645
+ attr_dev(div1, "class", "svelte-yng6tp");
6646
+ add_location(div1, file, 131, 12, 3902);
6647
+ attr_dev(td6, "class", "border-left svelte-yng6tp");
6648
+ set_style(td6, "background-color", reviewColor(/*p*/ ctx[9].reviews.cr));
6649
+ attr_dev(td6, "title", td6_title_value = /*p*/ ctx[9].reviews.cr.person);
6650
+ add_location(td6, file, 130, 10, 3780);
6232
6651
  attr_dev(div2, "role", "img");
6233
- attr_dev(div2, "title", div2_title_value = /*p*/ ctx[4].reviews.pr.person);
6234
- attr_dev(div2, "class", "svelte-rdtr17");
6235
- add_location(div2, file, 106, 12, 3323);
6236
- attr_dev(td7, "class", "border-left svelte-rdtr17");
6237
- set_style(td7, "background-color", reviewColor(/*p*/ ctx[4].reviews.pr));
6238
- attr_dev(td7, "title", td7_title_value = /*p*/ ctx[4].reviews.pr.person);
6239
- add_location(td7, file, 105, 10, 3201);
6652
+ attr_dev(div2, "title", div2_title_value = /*p*/ ctx[9].reviews.pr.person);
6653
+ attr_dev(div2, "class", "svelte-yng6tp");
6654
+ add_location(div2, file, 134, 12, 4129);
6655
+ attr_dev(td7, "class", "border-left svelte-yng6tp");
6656
+ set_style(td7, "background-color", reviewColor(/*p*/ ctx[9].reviews.pr));
6657
+ attr_dev(td7, "title", td7_title_value = /*p*/ ctx[9].reviews.pr.person);
6658
+ add_location(td7, file, 133, 10, 4007);
6240
6659
  attr_dev(div3, "role", "img");
6241
- attr_dev(div3, "title", div3_title_value = /*p*/ ctx[4].reviews.qa.person);
6242
- attr_dev(div3, "class", "svelte-rdtr17");
6243
- add_location(div3, file, 109, 12, 3550);
6244
- attr_dev(td8, "class", "border-left svelte-rdtr17");
6245
- set_style(td8, "background-color", reviewColor(/*p*/ ctx[4].reviews.qa));
6246
- attr_dev(td8, "title", td8_title_value = /*p*/ ctx[4].reviews.qa.person);
6247
- add_location(td8, file, 108, 10, 3428);
6660
+ attr_dev(div3, "title", div3_title_value = /*p*/ ctx[9].reviews.qa.person);
6661
+ attr_dev(div3, "class", "svelte-yng6tp");
6662
+ add_location(div3, file, 137, 12, 4356);
6663
+ attr_dev(td8, "class", "border-left svelte-yng6tp");
6664
+ set_style(td8, "background-color", reviewColor(/*p*/ ctx[9].reviews.qa));
6665
+ attr_dev(td8, "title", td8_title_value = /*p*/ ctx[9].reviews.qa.person);
6666
+ add_location(td8, file, 136, 10, 4234);
6248
6667
  attr_dev(div4, "role", "img");
6249
- attr_dev(div4, "class", "svelte-rdtr17");
6250
- add_location(div4, file, 112, 12, 3775);
6251
- attr_dev(td9, "class", "border-left svelte-rdtr17");
6252
- set_style(td9, "background-color", reviewColor(/*p*/ ctx[4].reviews.v));
6253
- attr_dev(td9, "title", td9_title_value = /*p*/ ctx[4].reviews.v.person);
6254
- add_location(td9, file, 111, 10, 3655);
6255
- attr_dev(tr, "class", "svelte-rdtr17");
6256
- add_location(tr, file, 89, 8, 2190);
6668
+ attr_dev(div4, "class", "svelte-yng6tp");
6669
+ add_location(div4, file, 140, 12, 4581);
6670
+ attr_dev(td9, "class", "border-left svelte-yng6tp");
6671
+ set_style(td9, "background-color", reviewColor(/*p*/ ctx[9].reviews.v));
6672
+ attr_dev(td9, "title", td9_title_value = /*p*/ ctx[9].reviews.v.person);
6673
+ add_location(td9, file, 139, 10, 4461);
6674
+ attr_dev(tr, "class", "svelte-yng6tp");
6675
+ add_location(tr, file, 117, 8, 2996);
6676
+ this.first = tr;
6257
6677
  },
6258
6678
  m: function mount(target, anchor) {
6259
6679
  insert_dev(target, tr, anchor);
@@ -6308,87 +6728,87 @@ var app = (function () {
6308
6728
  }
6309
6729
  }
6310
6730
 
6311
- if (dirty & /*patchSets*/ 1 && a0_href_value !== (a0_href_value = "" + (window.BASE_API_URL + "/c/" + /*p*/ ctx[4].project + "/+/" + /*p*/ ctx[4].id))) {
6731
+ if (dirty & /*patchSets*/ 4 && a0_href_value !== (a0_href_value = "" + (window.BASE_API_URL + "/c/" + /*p*/ ctx[9].project + "/+/" + /*p*/ ctx[9].id))) {
6312
6732
  attr_dev(a0, "href", a0_href_value);
6313
6733
  }
6314
6734
 
6315
- if (dirty & /*patchSets*/ 1 && t1_value !== (t1_value = /*p*/ ctx[4].status + "")) set_data_dev(t1, t1_value);
6735
+ if (dirty & /*patchSets*/ 4 && t1_value !== (t1_value = /*p*/ ctx[9].status + "")) set_data_dev(t1, t1_value);
6316
6736
 
6317
- if (dirty & /*patchSets*/ 1) {
6318
- set_style(td1, "color", statusColor(/*p*/ ctx[4].status));
6737
+ if (dirty & /*patchSets*/ 4) {
6738
+ set_style(td1, "color", statusColor(/*p*/ ctx[9].status));
6319
6739
  }
6320
6740
 
6321
- if (dirty & /*patchSets*/ 1 && t3_value !== (t3_value = /*p*/ ctx[4].owner_name + "")) set_data_dev(t3, t3_value);
6741
+ if (dirty & /*patchSets*/ 4 && t3_value !== (t3_value = /*p*/ ctx[9].owner_name + "")) set_data_dev(t3, t3_value);
6322
6742
 
6323
- if (dirty & /*patchSets*/ 1 && a1_href_value !== (a1_href_value = "" + (window.BASE_API_URL + "/q/owner:" + /*p*/ ctx[4].owner_email))) {
6743
+ if (dirty & /*patchSets*/ 4 && a1_href_value !== (a1_href_value = "" + (window.BASE_API_URL + "/q/owner:" + /*p*/ ctx[9].owner_email))) {
6324
6744
  attr_dev(a1, "href", a1_href_value);
6325
6745
  }
6326
6746
 
6327
- if (dirty & /*patchSets*/ 1 && t5_value !== (t5_value = /*p*/ ctx[4].project + "")) set_data_dev(t5, t5_value);
6747
+ if (dirty & /*patchSets*/ 4 && t5_value !== (t5_value = /*p*/ ctx[9].project + "")) set_data_dev(t5, t5_value);
6328
6748
 
6329
- if (dirty & /*patchSets*/ 1 && a2_href_value !== (a2_href_value = "" + (window.BASE_API_URL + "/q/project:" + /*p*/ ctx[4].project))) {
6749
+ if (dirty & /*patchSets*/ 4 && a2_href_value !== (a2_href_value = "" + (window.BASE_API_URL + "/q/project:" + /*p*/ ctx[9].project))) {
6330
6750
  attr_dev(a2, "href", a2_href_value);
6331
6751
  }
6332
6752
 
6333
- if (dirty & /*patchSets*/ 1 && t7_value !== (t7_value = moment.utc(/*p*/ ctx[4].updated_at).local().fromNow() + "")) set_data_dev(t7, t7_value);
6753
+ if (dirty & /*patchSets*/ 4 && t7_value !== (t7_value = moment.utc(/*p*/ ctx[9].updated_at).local().fromNow() + "")) set_data_dev(t7, t7_value);
6334
6754
 
6335
- if (dirty & /*patchSets*/ 1) {
6336
- set_style(div0, "width", /*p*/ ctx[4].size + "%");
6755
+ if (dirty & /*patchSets*/ 4) {
6756
+ set_style(div0, "width", /*p*/ ctx[9].size + "%");
6337
6757
  }
6338
6758
 
6339
- if (dirty & /*patchSets*/ 1) {
6340
- set_style(div0, "background-color", sizeBarColor(/*p*/ ctx[4].size));
6759
+ if (dirty & /*patchSets*/ 4) {
6760
+ set_style(div0, "background-color", sizeBarColor(/*p*/ ctx[9].size));
6341
6761
  }
6342
6762
 
6343
- if (dirty & /*patchSets*/ 1 && t10_value !== (t10_value = reviewText(/*p*/ ctx[4].reviews.cr) + "")) set_data_dev(t10, t10_value);
6763
+ if (dirty & /*patchSets*/ 4 && t10_value !== (t10_value = reviewText(/*p*/ ctx[9].reviews.cr) + "")) set_data_dev(t10, t10_value);
6344
6764
 
6345
- if (dirty & /*patchSets*/ 1 && div1_title_value !== (div1_title_value = /*p*/ ctx[4].reviews.cr.person)) {
6765
+ if (dirty & /*patchSets*/ 4 && div1_title_value !== (div1_title_value = /*p*/ ctx[9].reviews.cr.person)) {
6346
6766
  attr_dev(div1, "title", div1_title_value);
6347
6767
  }
6348
6768
 
6349
- if (dirty & /*patchSets*/ 1) {
6350
- set_style(td6, "background-color", reviewColor(/*p*/ ctx[4].reviews.cr));
6769
+ if (dirty & /*patchSets*/ 4) {
6770
+ set_style(td6, "background-color", reviewColor(/*p*/ ctx[9].reviews.cr));
6351
6771
  }
6352
6772
 
6353
- if (dirty & /*patchSets*/ 1 && td6_title_value !== (td6_title_value = /*p*/ ctx[4].reviews.cr.person)) {
6773
+ if (dirty & /*patchSets*/ 4 && td6_title_value !== (td6_title_value = /*p*/ ctx[9].reviews.cr.person)) {
6354
6774
  attr_dev(td6, "title", td6_title_value);
6355
6775
  }
6356
6776
 
6357
- if (dirty & /*patchSets*/ 1 && t12_value !== (t12_value = reviewText(/*p*/ ctx[4].reviews.pr) + "")) set_data_dev(t12, t12_value);
6777
+ if (dirty & /*patchSets*/ 4 && t12_value !== (t12_value = reviewText(/*p*/ ctx[9].reviews.pr) + "")) set_data_dev(t12, t12_value);
6358
6778
 
6359
- if (dirty & /*patchSets*/ 1 && div2_title_value !== (div2_title_value = /*p*/ ctx[4].reviews.pr.person)) {
6779
+ if (dirty & /*patchSets*/ 4 && div2_title_value !== (div2_title_value = /*p*/ ctx[9].reviews.pr.person)) {
6360
6780
  attr_dev(div2, "title", div2_title_value);
6361
6781
  }
6362
6782
 
6363
- if (dirty & /*patchSets*/ 1) {
6364
- set_style(td7, "background-color", reviewColor(/*p*/ ctx[4].reviews.pr));
6783
+ if (dirty & /*patchSets*/ 4) {
6784
+ set_style(td7, "background-color", reviewColor(/*p*/ ctx[9].reviews.pr));
6365
6785
  }
6366
6786
 
6367
- if (dirty & /*patchSets*/ 1 && td7_title_value !== (td7_title_value = /*p*/ ctx[4].reviews.pr.person)) {
6787
+ if (dirty & /*patchSets*/ 4 && td7_title_value !== (td7_title_value = /*p*/ ctx[9].reviews.pr.person)) {
6368
6788
  attr_dev(td7, "title", td7_title_value);
6369
6789
  }
6370
6790
 
6371
- if (dirty & /*patchSets*/ 1 && t14_value !== (t14_value = reviewText(/*p*/ ctx[4].reviews.qa) + "")) set_data_dev(t14, t14_value);
6791
+ if (dirty & /*patchSets*/ 4 && t14_value !== (t14_value = reviewText(/*p*/ ctx[9].reviews.qa) + "")) set_data_dev(t14, t14_value);
6372
6792
 
6373
- if (dirty & /*patchSets*/ 1 && div3_title_value !== (div3_title_value = /*p*/ ctx[4].reviews.qa.person)) {
6793
+ if (dirty & /*patchSets*/ 4 && div3_title_value !== (div3_title_value = /*p*/ ctx[9].reviews.qa.person)) {
6374
6794
  attr_dev(div3, "title", div3_title_value);
6375
6795
  }
6376
6796
 
6377
- if (dirty & /*patchSets*/ 1) {
6378
- set_style(td8, "background-color", reviewColor(/*p*/ ctx[4].reviews.qa));
6797
+ if (dirty & /*patchSets*/ 4) {
6798
+ set_style(td8, "background-color", reviewColor(/*p*/ ctx[9].reviews.qa));
6379
6799
  }
6380
6800
 
6381
- if (dirty & /*patchSets*/ 1 && td8_title_value !== (td8_title_value = /*p*/ ctx[4].reviews.qa.person)) {
6801
+ if (dirty & /*patchSets*/ 4 && td8_title_value !== (td8_title_value = /*p*/ ctx[9].reviews.qa.person)) {
6382
6802
  attr_dev(td8, "title", td8_title_value);
6383
6803
  }
6384
6804
 
6385
- if (dirty & /*patchSets*/ 1 && t16_value !== (t16_value = reviewText(/*p*/ ctx[4].reviews.v, true) + "")) set_data_dev(t16, t16_value);
6805
+ if (dirty & /*patchSets*/ 4 && t16_value !== (t16_value = reviewText(/*p*/ ctx[9].reviews.v, true) + "")) set_data_dev(t16, t16_value);
6386
6806
 
6387
- if (dirty & /*patchSets*/ 1) {
6388
- set_style(td9, "background-color", reviewColor(/*p*/ ctx[4].reviews.v));
6807
+ if (dirty & /*patchSets*/ 4) {
6808
+ set_style(td9, "background-color", reviewColor(/*p*/ ctx[9].reviews.v));
6389
6809
  }
6390
6810
 
6391
- if (dirty & /*patchSets*/ 1 && td9_title_value !== (td9_title_value = /*p*/ ctx[4].reviews.v.person)) {
6811
+ if (dirty & /*patchSets*/ 4 && td9_title_value !== (td9_title_value = /*p*/ ctx[9].reviews.v.person)) {
6392
6812
  attr_dev(td9, "title", td9_title_value);
6393
6813
  }
6394
6814
  },
@@ -6402,31 +6822,38 @@ var app = (function () {
6402
6822
  block,
6403
6823
  id: create_each_block_1.name,
6404
6824
  type: "each",
6405
- source: "(89:6) {#each patchSets[section[0]] as p}",
6825
+ source: "(117:6) {#each patchSets[section[0]] as p (p.id)}",
6406
6826
  ctx
6407
6827
  });
6408
6828
 
6409
6829
  return block;
6410
6830
  }
6411
6831
 
6412
- // (87:4) {#each [["mine", "My Changes"], ["others", "Others' Changes"], ["closed", "Closed"]] as section}
6413
- function create_each_block(ctx) {
6832
+ // (115:4) {#each [["mine", "My Changes"], ["others", "Others' Changes"], ["closed", "Closed"]] as section (section[0])}
6833
+ function create_each_block(key_1, ctx) {
6414
6834
  let tr;
6415
6835
  let td;
6416
6836
  let b;
6417
- let t0_value = /*section*/ ctx[1][1] + "";
6837
+ let t0_value = /*section*/ ctx[6][1] + "";
6418
6838
  let t0;
6419
6839
  let t1;
6840
+ let each_blocks = [];
6841
+ let each_1_lookup = new Map();
6420
6842
  let each_1_anchor;
6421
- let each_value_1 = /*patchSets*/ ctx[0][/*section*/ ctx[1][0]];
6843
+ let each_value_1 = /*patchSets*/ ctx[2][/*section*/ ctx[6][0]];
6422
6844
  validate_each_argument(each_value_1);
6423
- let each_blocks = [];
6845
+ const get_key = ctx => /*p*/ ctx[9].id;
6846
+ validate_each_keys(ctx, each_value_1, get_each_context_1, get_key);
6424
6847
 
6425
6848
  for (let i = 0; i < each_value_1.length; i += 1) {
6426
- each_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
6849
+ let child_ctx = get_each_context_1(ctx, each_value_1, i);
6850
+ let key = get_key(child_ctx);
6851
+ each_1_lookup.set(key, each_blocks[i] = create_each_block_1(key, child_ctx));
6427
6852
  }
6428
6853
 
6429
6854
  const block = {
6855
+ key: key_1,
6856
+ first: null,
6430
6857
  c: function create() {
6431
6858
  tr = element("tr");
6432
6859
  td = element("td");
@@ -6439,13 +6866,14 @@ var app = (function () {
6439
6866
  }
6440
6867
 
6441
6868
  each_1_anchor = empty();
6442
- attr_dev(b, "class", "svelte-rdtr17");
6443
- add_location(b, file, 87, 54, 2111);
6869
+ attr_dev(b, "class", "svelte-yng6tp");
6870
+ add_location(b, file, 115, 54, 2910);
6444
6871
  attr_dev(td, "colspan", "10");
6445
- attr_dev(td, "class", "tr-header td-first svelte-rdtr17");
6446
- add_location(td, file, 87, 10, 2067);
6447
- attr_dev(tr, "class", "svelte-rdtr17");
6448
- add_location(tr, file, 87, 6, 2063);
6872
+ attr_dev(td, "class", "tr-header td-first svelte-yng6tp");
6873
+ add_location(td, file, 115, 10, 2866);
6874
+ attr_dev(tr, "class", "svelte-yng6tp");
6875
+ add_location(tr, file, 115, 6, 2862);
6876
+ this.first = tr;
6449
6877
  },
6450
6878
  m: function mount(target, anchor) {
6451
6879
  insert_dev(target, tr, anchor);
@@ -6461,34 +6889,21 @@ var app = (function () {
6461
6889
  insert_dev(target, each_1_anchor, anchor);
6462
6890
  },
6463
6891
  p: function update(ctx, dirty) {
6464
- if (dirty & /*reviewColor, patchSets, reviewText, sizeBarColor, moment, window, statusColor*/ 1) {
6465
- each_value_1 = /*patchSets*/ ctx[0][/*section*/ ctx[1][0]];
6892
+ if (dirty & /*reviewColor, patchSets, reviewText, sizeBarColor, moment, window, statusColor*/ 4) {
6893
+ const each_value_1 = /*patchSets*/ ctx[2][/*section*/ ctx[6][0]];
6466
6894
  validate_each_argument(each_value_1);
6467
- let i;
6468
-
6469
- for (i = 0; i < each_value_1.length; i += 1) {
6470
- const child_ctx = get_each_context_1(ctx, each_value_1, i);
6471
-
6472
- if (each_blocks[i]) {
6473
- each_blocks[i].p(child_ctx, dirty);
6474
- } else {
6475
- each_blocks[i] = create_each_block_1(child_ctx);
6476
- each_blocks[i].c();
6477
- each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
6478
- }
6479
- }
6480
-
6481
- for (; i < each_blocks.length; i += 1) {
6482
- each_blocks[i].d(1);
6483
- }
6484
-
6485
- each_blocks.length = each_value_1.length;
6895
+ validate_each_keys(ctx, each_value_1, get_each_context_1, get_key);
6896
+ each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_1, each_1_lookup, each_1_anchor.parentNode, destroy_block, create_each_block_1, each_1_anchor, get_each_context_1);
6486
6897
  }
6487
6898
  },
6488
6899
  d: function destroy(detaching) {
6489
6900
  if (detaching) detach_dev(tr);
6490
6901
  if (detaching) detach_dev(t1);
6491
- destroy_each(each_blocks, detaching);
6902
+
6903
+ for (let i = 0; i < each_blocks.length; i += 1) {
6904
+ each_blocks[i].d(detaching);
6905
+ }
6906
+
6492
6907
  if (detaching) detach_dev(each_1_anchor);
6493
6908
  }
6494
6909
  };
@@ -6497,7 +6912,45 @@ var app = (function () {
6497
6912
  block,
6498
6913
  id: create_each_block.name,
6499
6914
  type: "each",
6500
- source: "(87:4) {#each [[\\\"mine\\\", \\\"My Changes\\\"], [\\\"others\\\", \\\"Others' Changes\\\"], [\\\"closed\\\", \\\"Closed\\\"]] as section}",
6915
+ source: "(115:4) {#each [[\\\"mine\\\", \\\"My Changes\\\"], [\\\"others\\\", \\\"Others' Changes\\\"], [\\\"closed\\\", \\\"Closed\\\"]] as section (section[0])}",
6916
+ ctx
6917
+ });
6918
+
6919
+ return block;
6920
+ }
6921
+
6922
+ // (147:2) {#if updatedAtText}
6923
+ function create_if_block(ctx) {
6924
+ let div;
6925
+ let t0;
6926
+ let t1;
6927
+
6928
+ const block = {
6929
+ c: function create() {
6930
+ div = element("div");
6931
+ t0 = text("Updated ");
6932
+ t1 = text(/*updatedAtText*/ ctx[1]);
6933
+ attr_dev(div, "class", "updated svelte-yng6tp");
6934
+ add_location(div, file, 147, 4, 4728);
6935
+ },
6936
+ m: function mount(target, anchor) {
6937
+ insert_dev(target, div, anchor);
6938
+ append_dev(div, t0);
6939
+ append_dev(div, t1);
6940
+ },
6941
+ p: function update(ctx, dirty) {
6942
+ if (dirty & /*updatedAtText*/ 2) set_data_dev(t1, /*updatedAtText*/ ctx[1]);
6943
+ },
6944
+ d: function destroy(detaching) {
6945
+ if (detaching) detach_dev(div);
6946
+ }
6947
+ };
6948
+
6949
+ dispatch_dev("SvelteRegisterBlock", {
6950
+ block,
6951
+ id: create_if_block.name,
6952
+ type: "if",
6953
+ source: "(147:2) {#if updatedAtText}",
6501
6954
  ctx
6502
6955
  });
6503
6956
 
@@ -6508,106 +6961,120 @@ var app = (function () {
6508
6961
  let main;
6509
6962
  let header;
6510
6963
  let t1;
6964
+ let t2;
6511
6965
  let table;
6512
6966
  let tr;
6513
6967
  let th0;
6514
- let t3;
6968
+ let t4;
6515
6969
  let th1;
6516
- let t5;
6970
+ let t6;
6517
6971
  let th2;
6518
- let t7;
6972
+ let t8;
6519
6973
  let th3;
6520
- let t9;
6974
+ let t10;
6521
6975
  let th4;
6522
- let t11;
6976
+ let t12;
6523
6977
  let th5;
6524
- let t13;
6978
+ let t14;
6525
6979
  let th6;
6526
- let t15;
6980
+ let t16;
6527
6981
  let th7;
6528
- let t17;
6982
+ let t18;
6529
6983
  let th8;
6530
- let t19;
6984
+ let t20;
6531
6985
  let th9;
6532
- let t21;
6986
+ let t22;
6987
+ let each_blocks = [];
6988
+ let each_1_lookup = new Map();
6989
+ let t23;
6990
+ let if_block0 = /*refreshing*/ ctx[0] && create_if_block_2(ctx);
6533
6991
  let each_value = [["mine", "My Changes"], ["others", "Others' Changes"], ["closed", "Closed"]];
6534
6992
  validate_each_argument(each_value);
6535
- let each_blocks = [];
6993
+ const get_key = ctx => /*section*/ ctx[6][0];
6994
+ validate_each_keys(ctx, each_value, get_each_context, get_key);
6536
6995
 
6537
6996
  for (let i = 0; i < 3; i += 1) {
6538
- each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
6997
+ let child_ctx = get_each_context(ctx, each_value, i);
6998
+ let key = get_key(child_ctx);
6999
+ each_1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx));
6539
7000
  }
6540
7001
 
7002
+ let if_block1 = /*updatedAtText*/ ctx[1] && create_if_block(ctx);
7003
+
6541
7004
  const block = {
6542
7005
  c: function create() {
6543
7006
  main = element("main");
6544
7007
  header = element("header");
6545
7008
  header.textContent = "BetterGerrit";
6546
7009
  t1 = space();
7010
+ if (if_block0) if_block0.c();
7011
+ t2 = space();
6547
7012
  table = element("table");
6548
7013
  tr = element("tr");
6549
7014
  th0 = element("th");
6550
7015
  th0.textContent = "Subject";
6551
- t3 = space();
7016
+ t4 = space();
6552
7017
  th1 = element("th");
6553
7018
  th1.textContent = "Status";
6554
- t5 = space();
7019
+ t6 = space();
6555
7020
  th2 = element("th");
6556
7021
  th2.textContent = "Owner";
6557
- t7 = space();
7022
+ t8 = space();
6558
7023
  th3 = element("th");
6559
7024
  th3.textContent = "Repo";
6560
- t9 = space();
7025
+ t10 = space();
6561
7026
  th4 = element("th");
6562
7027
  th4.textContent = "Updated";
6563
- t11 = space();
7028
+ t12 = space();
6564
7029
  th5 = element("th");
6565
7030
  th5.textContent = "Size";
6566
- t13 = space();
7031
+ t14 = space();
6567
7032
  th6 = element("th");
6568
7033
  th6.textContent = "CR";
6569
- t15 = space();
7034
+ t16 = space();
6570
7035
  th7 = element("th");
6571
7036
  th7.textContent = "PR";
6572
- t17 = space();
7037
+ t18 = space();
6573
7038
  th8 = element("th");
6574
7039
  th8.textContent = "QA";
6575
- t19 = space();
7040
+ t20 = space();
6576
7041
  th9 = element("th");
6577
7042
  th9.textContent = "V";
6578
- t21 = space();
7043
+ t22 = space();
6579
7044
 
6580
7045
  for (let i = 0; i < 3; i += 1) {
6581
7046
  each_blocks[i].c();
6582
7047
  }
6583
7048
 
6584
- attr_dev(header, "class", "svelte-rdtr17");
6585
- add_location(header, file, 72, 2, 1600);
6586
- attr_dev(th0, "class", "td-first svelte-rdtr17");
6587
- add_location(th0, file, 75, 6, 1655);
6588
- attr_dev(th1, "class", "svelte-rdtr17");
6589
- add_location(th1, file, 76, 6, 1695);
6590
- attr_dev(th2, "class", "svelte-rdtr17");
6591
- add_location(th2, file, 77, 6, 1717);
6592
- attr_dev(th3, "class", "svelte-rdtr17");
6593
- add_location(th3, file, 78, 6, 1738);
6594
- attr_dev(th4, "class", "svelte-rdtr17");
6595
- add_location(th4, file, 79, 6, 1758);
6596
- attr_dev(th5, "class", "svelte-rdtr17");
6597
- add_location(th5, file, 80, 6, 1781);
6598
- attr_dev(th6, "class", "border-left svelte-rdtr17");
6599
- add_location(th6, file, 81, 6, 1801);
6600
- attr_dev(th7, "class", "border-left svelte-rdtr17");
6601
- add_location(th7, file, 82, 6, 1839);
6602
- attr_dev(th8, "class", "border-left svelte-rdtr17");
6603
- add_location(th8, file, 83, 6, 1877);
6604
- attr_dev(th9, "class", "border-left svelte-rdtr17");
6605
- add_location(th9, file, 84, 6, 1915);
6606
- attr_dev(tr, "class", "svelte-rdtr17");
6607
- add_location(tr, file, 74, 4, 1644);
6608
- attr_dev(table, "class", "svelte-rdtr17");
6609
- add_location(table, file, 73, 2, 1632);
6610
- add_location(main, file, 71, 0, 1591);
7049
+ t23 = space();
7050
+ if (if_block1) if_block1.c();
7051
+ attr_dev(header, "class", "svelte-yng6tp");
7052
+ add_location(header, file, 97, 2, 2291);
7053
+ attr_dev(th0, "class", "td-first svelte-yng6tp");
7054
+ add_location(th0, file, 103, 6, 2441);
7055
+ attr_dev(th1, "class", "svelte-yng6tp");
7056
+ add_location(th1, file, 104, 6, 2481);
7057
+ attr_dev(th2, "class", "svelte-yng6tp");
7058
+ add_location(th2, file, 105, 6, 2503);
7059
+ attr_dev(th3, "class", "svelte-yng6tp");
7060
+ add_location(th3, file, 106, 6, 2524);
7061
+ attr_dev(th4, "class", "svelte-yng6tp");
7062
+ add_location(th4, file, 107, 6, 2544);
7063
+ attr_dev(th5, "class", "svelte-yng6tp");
7064
+ add_location(th5, file, 108, 6, 2567);
7065
+ attr_dev(th6, "class", "border-left svelte-yng6tp");
7066
+ add_location(th6, file, 109, 6, 2587);
7067
+ attr_dev(th7, "class", "border-left svelte-yng6tp");
7068
+ add_location(th7, file, 110, 6, 2625);
7069
+ attr_dev(th8, "class", "border-left svelte-yng6tp");
7070
+ add_location(th8, file, 111, 6, 2663);
7071
+ attr_dev(th9, "class", "border-left svelte-yng6tp");
7072
+ add_location(th9, file, 112, 6, 2701);
7073
+ attr_dev(tr, "class", "svelte-yng6tp");
7074
+ add_location(tr, file, 102, 4, 2430);
7075
+ attr_dev(table, "class", "svelte-yng6tp");
7076
+ add_location(table, file, 101, 2, 2418);
7077
+ add_location(main, file, 96, 0, 2282);
6611
7078
  },
6612
7079
  l: function claim(nodes) {
6613
7080
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -6616,66 +7083,86 @@ var app = (function () {
6616
7083
  insert_dev(target, main, anchor);
6617
7084
  append_dev(main, header);
6618
7085
  append_dev(main, t1);
7086
+ if (if_block0) if_block0.m(main, null);
7087
+ append_dev(main, t2);
6619
7088
  append_dev(main, table);
6620
7089
  append_dev(table, tr);
6621
7090
  append_dev(tr, th0);
6622
- append_dev(tr, t3);
7091
+ append_dev(tr, t4);
6623
7092
  append_dev(tr, th1);
6624
- append_dev(tr, t5);
7093
+ append_dev(tr, t6);
6625
7094
  append_dev(tr, th2);
6626
- append_dev(tr, t7);
7095
+ append_dev(tr, t8);
6627
7096
  append_dev(tr, th3);
6628
- append_dev(tr, t9);
7097
+ append_dev(tr, t10);
6629
7098
  append_dev(tr, th4);
6630
- append_dev(tr, t11);
7099
+ append_dev(tr, t12);
6631
7100
  append_dev(tr, th5);
6632
- append_dev(tr, t13);
7101
+ append_dev(tr, t14);
6633
7102
  append_dev(tr, th6);
6634
- append_dev(tr, t15);
7103
+ append_dev(tr, t16);
6635
7104
  append_dev(tr, th7);
6636
- append_dev(tr, t17);
7105
+ append_dev(tr, t18);
6637
7106
  append_dev(tr, th8);
6638
- append_dev(tr, t19);
7107
+ append_dev(tr, t20);
6639
7108
  append_dev(tr, th9);
6640
- append_dev(table, t21);
7109
+ append_dev(table, t22);
6641
7110
 
6642
7111
  for (let i = 0; i < 3; i += 1) {
6643
7112
  each_blocks[i].m(table, null);
6644
7113
  }
7114
+
7115
+ append_dev(main, t23);
7116
+ if (if_block1) if_block1.m(main, null);
6645
7117
  },
6646
7118
  p: function update(ctx, [dirty]) {
6647
- if (dirty & /*patchSets, reviewColor, reviewText, sizeBarColor, moment, window, statusColor*/ 1) {
6648
- each_value = [
7119
+ if (/*refreshing*/ ctx[0]) {
7120
+ if (if_block0) ; else {
7121
+ if_block0 = create_if_block_2(ctx);
7122
+ if_block0.c();
7123
+ if_block0.m(main, t2);
7124
+ }
7125
+ } else if (if_block0) {
7126
+ if_block0.d(1);
7127
+ if_block0 = null;
7128
+ }
7129
+
7130
+ if (dirty & /*patchSets, reviewColor, reviewText, sizeBarColor, moment, window, statusColor*/ 4) {
7131
+ const each_value = [
6649
7132
  ["mine", "My Changes"],
6650
7133
  ["others", "Others' Changes"],
6651
7134
  ["closed", "Closed"]
6652
7135
  ];
6653
7136
 
6654
7137
  validate_each_argument(each_value);
6655
- let i;
6656
-
6657
- for (i = 0; i < 3; i += 1) {
6658
- const child_ctx = get_each_context(ctx, each_value, i);
6659
-
6660
- if (each_blocks[i]) {
6661
- each_blocks[i].p(child_ctx, dirty);
6662
- } else {
6663
- each_blocks[i] = create_each_block(child_ctx);
6664
- each_blocks[i].c();
6665
- each_blocks[i].m(table, null);
6666
- }
6667
- }
7138
+ validate_each_keys(ctx, each_value, get_each_context, get_key);
7139
+ each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, table, destroy_block, create_each_block, null, get_each_context);
7140
+ }
6668
7141
 
6669
- for (; i < 3; i += 1) {
6670
- each_blocks[i].d(1);
7142
+ if (/*updatedAtText*/ ctx[1]) {
7143
+ if (if_block1) {
7144
+ if_block1.p(ctx, dirty);
7145
+ } else {
7146
+ if_block1 = create_if_block(ctx);
7147
+ if_block1.c();
7148
+ if_block1.m(main, null);
6671
7149
  }
7150
+ } else if (if_block1) {
7151
+ if_block1.d(1);
7152
+ if_block1 = null;
6672
7153
  }
6673
7154
  },
6674
7155
  i: noop,
6675
7156
  o: noop,
6676
7157
  d: function destroy(detaching) {
6677
7158
  if (detaching) detach_dev(main);
6678
- destroy_each(each_blocks, detaching);
7159
+ if (if_block0) if_block0.d();
7160
+
7161
+ for (let i = 0; i < 3; i += 1) {
7162
+ each_blocks[i].d();
7163
+ }
7164
+
7165
+ if (if_block1) if_block1.d();
6679
7166
  }
6680
7167
  };
6681
7168
 
@@ -6749,15 +7236,45 @@ var app = (function () {
6749
7236
  }
6750
7237
 
6751
7238
  function instance($$self, $$props, $$invalidate) {
7239
+ let { refreshing = false } = $$props;
7240
+ let updatedAt = null;
7241
+ let { updatedAtText = null } = $$props;
6752
7242
  let { patchSets = { mine: [], others: [], closed: [] } } = $$props;
7243
+ let lastFetch = Date.now();
6753
7244
 
6754
- onMount(async () => {
7245
+ async function fetchChanges() {
6755
7246
  await fetch(`/changes`).then(r => r.json()).then(data => {
6756
- $$invalidate(0, patchSets = data);
7247
+ $$invalidate(2, patchSets = data);
7248
+ $$invalidate(0, refreshing = false);
7249
+ lastFetch = Date.now();
7250
+ updatedAt = Date.now();
7251
+ $$invalidate(1, updatedAtText = moment(updatedAt).fromNow());
6757
7252
  });
7253
+ }
7254
+
7255
+ onMount(() => {
7256
+ fetchChanges();
7257
+
7258
+ const updatedAtInterval = setInterval(
7259
+ () => {
7260
+ $$invalidate(1, updatedAtText = updatedAt && moment(updatedAt).fromNow());
7261
+ },
7262
+ 5000
7263
+ );
7264
+
7265
+ return () => {
7266
+ clearInterval(updatedAtInterval);
7267
+ };
6758
7268
  });
6759
7269
 
6760
- const writable_props = ["patchSets"];
7270
+ ifvisible.on("focus", function () {
7271
+ if (Date.now() - lastFetch > 120000) {
7272
+ $$invalidate(0, refreshing = true);
7273
+ fetchChanges();
7274
+ }
7275
+ });
7276
+
7277
+ const writable_props = ["refreshing", "updatedAtText", "patchSets"];
6761
7278
 
6762
7279
  Object.keys($$props).forEach(key => {
6763
7280
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<App> was created with unknown prop '${key}'`);
@@ -6767,13 +7284,21 @@ var app = (function () {
6767
7284
  validate_slots("App", $$slots, []);
6768
7285
 
6769
7286
  $$self.$set = $$props => {
6770
- if ("patchSets" in $$props) $$invalidate(0, patchSets = $$props.patchSets);
7287
+ if ("refreshing" in $$props) $$invalidate(0, refreshing = $$props.refreshing);
7288
+ if ("updatedAtText" in $$props) $$invalidate(1, updatedAtText = $$props.updatedAtText);
7289
+ if ("patchSets" in $$props) $$invalidate(2, patchSets = $$props.patchSets);
6771
7290
  };
6772
7291
 
6773
7292
  $$self.$capture_state = () => ({
6774
7293
  onMount,
6775
7294
  moment,
7295
+ ifvisible,
7296
+ refreshing,
7297
+ updatedAt,
7298
+ updatedAtText,
6776
7299
  patchSets,
7300
+ lastFetch,
7301
+ fetchChanges,
6777
7302
  sizeBarColor,
6778
7303
  statusColor,
6779
7304
  reviewText,
@@ -6781,20 +7306,29 @@ var app = (function () {
6781
7306
  });
6782
7307
 
6783
7308
  $$self.$inject_state = $$props => {
6784
- if ("patchSets" in $$props) $$invalidate(0, patchSets = $$props.patchSets);
7309
+ if ("refreshing" in $$props) $$invalidate(0, refreshing = $$props.refreshing);
7310
+ if ("updatedAt" in $$props) updatedAt = $$props.updatedAt;
7311
+ if ("updatedAtText" in $$props) $$invalidate(1, updatedAtText = $$props.updatedAtText);
7312
+ if ("patchSets" in $$props) $$invalidate(2, patchSets = $$props.patchSets);
7313
+ if ("lastFetch" in $$props) lastFetch = $$props.lastFetch;
6785
7314
  };
6786
7315
 
6787
7316
  if ($$props && "$$inject" in $$props) {
6788
7317
  $$self.$inject_state($$props.$$inject);
6789
7318
  }
6790
7319
 
6791
- return [patchSets];
7320
+ return [refreshing, updatedAtText, patchSets];
6792
7321
  }
6793
7322
 
6794
7323
  class App extends SvelteComponentDev {
6795
7324
  constructor(options) {
6796
7325
  super(options);
6797
- init(this, options, instance, create_fragment, safe_not_equal, { patchSets: 0 });
7326
+
7327
+ init(this, options, instance, create_fragment, safe_not_equal, {
7328
+ refreshing: 0,
7329
+ updatedAtText: 1,
7330
+ patchSets: 2
7331
+ });
6798
7332
 
6799
7333
  dispatch_dev("SvelteRegisterComponent", {
6800
7334
  component: this,
@@ -6804,6 +7338,22 @@ var app = (function () {
6804
7338
  });
6805
7339
  }
6806
7340
 
7341
+ get refreshing() {
7342
+ throw new Error("<App>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
7343
+ }
7344
+
7345
+ set refreshing(value) {
7346
+ throw new Error("<App>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
7347
+ }
7348
+
7349
+ get updatedAtText() {
7350
+ throw new Error("<App>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
7351
+ }
7352
+
7353
+ set updatedAtText(value) {
7354
+ throw new Error("<App>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
7355
+ }
7356
+
6807
7357
  get patchSets() {
6808
7358
  throw new Error("<App>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
6809
7359
  }