@tehw0lf/git-portfolio 0.20.8 → 0.21.1

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.
@@ -114,10 +114,10 @@ class GitProviderService {
114
114
  this.loadingStateSubject.next(true);
115
115
  this.repositorySubject.next({});
116
116
  }
117
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GitProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
118
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GitProviderService, providedIn: 'root' }); }
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GitProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
118
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GitProviderService, providedIn: 'root' }); }
119
119
  }
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GitProviderService, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GitProviderService, decorators: [{
121
121
  type: Injectable,
122
122
  args: [{
123
123
  providedIn: 'root'
@@ -137,8 +137,7 @@ class OcticonDirective {
137
137
  if (this.octicon()) {
138
138
  const iconName = this.octicon();
139
139
  if (octicons[iconName] !== undefined) {
140
- el.innerHTML = octicons[iconName].toSVG();
141
- const icon = el.firstChild;
140
+ const icon = this.insertSvgSafely(el, octicons[iconName].toSVG());
142
141
  if (this.color() && icon) {
143
142
  this.renderer.setStyle(icon, 'fill', this.color());
144
143
  }
@@ -148,24 +147,42 @@ class OcticonDirective {
148
147
  }
149
148
  }
150
149
  else {
151
- el.innerHTML = octicons['alert'].toSVG();
152
- if (el.firstChild) {
153
- this.renderer.setStyle(el.firstChild, 'fill', 'red');
150
+ const alertIcon = this.insertSvgSafely(el, octicons['alert'].toSVG());
151
+ if (alertIcon) {
152
+ this.renderer.setStyle(alertIcon, 'fill', 'red');
154
153
  }
155
154
  }
156
155
  }
157
156
  }
158
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: OcticonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
159
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.3", type: OcticonDirective, isStandalone: true, selector: "[octicon]", inputs: { octicon: { classPropertyName: "octicon", publicName: "octicon", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
157
+ insertSvgSafely(element, svgString) {
158
+ // Use document.createRange().createContextualFragment() which works better
159
+ // in both browser and JSDOM environments compared to DOMParser
160
+ const range = document.createRange();
161
+ range.selectNode(element);
162
+ const fragment = range.createContextualFragment(svgString);
163
+ // Clear existing content
164
+ while (element.firstChild) {
165
+ this.renderer.removeChild(element, element.firstChild);
166
+ }
167
+ // Append the safely parsed SVG element
168
+ const svgElement = fragment.firstChild;
169
+ if (svgElement) {
170
+ this.renderer.appendChild(element, svgElement);
171
+ }
172
+ // Return the inserted SVG element
173
+ return svgElement;
174
+ }
175
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: OcticonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
176
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: OcticonDirective, isStandalone: true, selector: "[octicon]", inputs: { octicon: { classPropertyName: "octicon", publicName: "octicon", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
160
177
  }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: OcticonDirective, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: OcticonDirective, decorators: [{
162
179
  type: Directive,
163
180
  args: [{
164
181
  // eslint-disable-next-line @angular-eslint/directive-selector
165
182
  selector: '[octicon]',
166
183
  standalone: true
167
184
  }]
168
- }] });
185
+ }], propDecorators: { octicon: [{ type: i0.Input, args: [{ isSignal: true, alias: "octicon", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: true }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }] } });
169
186
 
170
187
  class RepoCardComponent {
171
188
  constructor() {
@@ -182,10 +199,10 @@ class RepoCardComponent {
182
199
  this.copiedToClipboard = output();
183
200
  this.githubLanguageColors = githubLanguageColors;
184
201
  }
185
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RepoCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
186
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.3", type: RepoCardComponent, isStandalone: true, selector: "repo-card", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: true, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: true, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: true, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: true, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: true, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: true, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: true, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: true, transformFunction: null }, gitRepo: { classPropertyName: "gitRepo", publicName: "gitRepo", isSignal: true, isRequired: true, transformFunction: null }, isCopied: { classPropertyName: "isCopied", publicName: "isCopied", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copiedToClipboard: "copiedToClipboard" }, ngImport: i0, template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i1.MatCardFooter, selector: "mat-card-footer" }, { kind: "component", type: i1.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i1.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i1.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: OcticonDirective, selector: "[octicon]", inputs: ["octicon", "color", "width"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i3.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
202
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RepoCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
203
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: RepoCardComponent, isStandalone: true, selector: "repo-card", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: true, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: true, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: true, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: true, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: true, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: true, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: true, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: true, transformFunction: null }, gitRepo: { classPropertyName: "gitRepo", publicName: "gitRepo", isSignal: true, isRequired: true, transformFunction: null }, isCopied: { classPropertyName: "isCopied", publicName: "isCopied", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copiedToClipboard: "copiedToClipboard" }, ngImport: i0, template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width:400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width:519px){.mat-mdc-card{width:415px}}@media screen and (max-width:430px){.mat-mdc-card{width:380px}}@media screen and (max-width:400px){.mat-mdc-card{width:350px}}@media screen and (max-width:390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i1.MatCardFooter, selector: "mat-card-footer" }, { kind: "component", type: i1.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i1.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i1.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: OcticonDirective, selector: "[octicon]", inputs: ["octicon", "color", "width"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i3.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
187
204
  }
188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RepoCardComponent, decorators: [{
205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RepoCardComponent, decorators: [{
189
206
  type: Component,
190
207
  args: [{ selector: 'repo-card', imports: [
191
208
  MatCardModule,
@@ -194,8 +211,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
194
211
  OcticonDirective,
195
212
  ClipboardModule,
196
213
  DatePipe
197
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}\n"] }]
198
- }] });
214
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width:400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width:519px){.mat-mdc-card{width:415px}}@media screen and (max-width:430px){.mat-mdc-card{width:380px}}@media screen and (max-width:400px){.mat-mdc-card{width:350px}}@media screen and (max-width:390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}\n"] }]
215
+ }], propDecorators: { buttonStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonStyle", required: true }] }], cardStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "cardStyle", required: true }] }], textStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "textStyle", required: true }] }], checkColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkColor", required: true }] }], forkColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "forkColor", required: true }] }], issueColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "issueColor", required: true }] }], pasteColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "pasteColor", required: true }] }], starColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "starColor", required: true }] }], gitRepo: [{ type: i0.Input, args: [{ isSignal: true, alias: "gitRepo", required: true }] }], isCopied: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCopied", required: false }] }], copiedToClipboard: [{ type: i0.Output, args: ["copiedToClipboard"] }] } });
199
216
 
200
217
  var GitProviders;
201
218
  (function (GitProviders) {
@@ -267,7 +284,7 @@ class GitPortfolioComponent {
267
284
  this.gitProviderService
268
285
  .getRepositories(this.gitProviderConfig())
269
286
  .pipe(takeUntil(this.unsubscribe$))
270
- .subscribe(repositories => {
287
+ .subscribe((repositories) => {
271
288
  this.gitRepositories.set(repositories);
272
289
  });
273
290
  }
@@ -285,10 +302,10 @@ class GitPortfolioComponent {
285
302
  gitRepositories[gitProvider]?.[type]?.length > 0) ??
286
303
  false);
287
304
  }
288
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GitPortfolioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
289
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.3", type: GitPortfolioComponent, isStandalone: true, selector: "git-portfolio", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: false, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: false, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: false, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: false, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: false, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: false, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: false, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: false, transformFunction: null }, gitProviderConfig: { classPropertyName: "gitProviderConfig", publicName: "gitProviderConfig", isSignal: true, isRequired: false, transformFunction: null }, showForked: { classPropertyName: "showForked", publicName: "showForked", isSignal: true, isRequired: false, transformFunction: null }, showOwn: { classPropertyName: "showOwn", publicName: "showOwn", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (gitRepositories(); as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport() === 'medium' || viewport() === 'small',\n 'flex-column': viewport() === 'xsmall'\n }\"\n >\n @if (loading() === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport() === 'medium',\n 'flex-fxflex-lt-md': viewport() === 'small',\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n loading() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport() === 'medium' || viewport() === 'small',\n 'flex-column': viewport() === 'xsmall'\n }\"\n >\n @if (loading() === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport() === 'medium',\n 'flex-fxflex-lt-md': viewport() === 'small',\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n loading() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: LayoutModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: RepoCardComponent, selector: "repo-card", inputs: ["buttonStyle", "cardStyle", "textStyle", "checkColor", "forkColor", "issueColor", "pasteColor", "starColor", "gitRepo", "isCopied"], outputs: ["copiedToClipboard"] }, { kind: "pipe", type: i1$1.KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
305
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GitPortfolioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
306
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: GitPortfolioComponent, isStandalone: true, selector: "git-portfolio", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: false, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: false, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: false, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: false, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: false, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: false, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: false, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: false, transformFunction: null }, gitProviderConfig: { classPropertyName: "gitProviderConfig", publicName: "gitProviderConfig", isSignal: true, isRequired: false, transformFunction: null }, showForked: { classPropertyName: "showForked", publicName: "showForked", isSignal: true, isRequired: false, transformFunction: null }, showOwn: { classPropertyName: "showOwn", publicName: "showOwn", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (gitRepositories(); as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport() === 'medium' || viewport() === 'small',\n 'flex-column': viewport() === 'xsmall'\n }\"\n >\n @if (loading() === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport() === 'medium',\n 'flex-fxflex-lt-md': viewport() === 'small',\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n loading() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport() === 'medium' || viewport() === 'small',\n 'flex-column': viewport() === 'xsmall'\n }\"\n >\n @if (loading() === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport() === 'medium',\n 'flex-fxflex-lt-md': viewport() === 'small',\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n loading() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: LayoutModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: RepoCardComponent, selector: "repo-card", inputs: ["buttonStyle", "cardStyle", "textStyle", "checkColor", "forkColor", "issueColor", "pasteColor", "starColor", "gitRepo", "isCopied"], outputs: ["copiedToClipboard"] }, { kind: "pipe", type: i1$1.KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
290
307
  }
291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: GitPortfolioComponent, decorators: [{
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GitPortfolioComponent, decorators: [{
292
309
  type: Component,
293
310
  args: [{ selector: 'git-portfolio', imports: [
294
311
  CommonModule,
@@ -298,7 +315,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
298
315
  RepoCardComponent,
299
316
  KeyValuePipe
300
317
  ], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (gitRepositories(); as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport() === 'medium' || viewport() === 'small',\n 'flex-column': viewport() === 'xsmall'\n }\"\n >\n @if (loading() === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport() === 'medium',\n 'flex-fxflex-lt-md': viewport() === 'small',\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n loading() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport() === 'medium' || viewport() === 'small',\n 'flex-column': viewport() === 'xsmall'\n }\"\n >\n @if (loading() === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport() === 'medium',\n 'flex-fxflex-lt-md': viewport() === 'small',\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n loading() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}\n"] }]
301
- }], ctorParameters: () => [] });
318
+ }], ctorParameters: () => [], propDecorators: { buttonStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonStyle", required: false }] }], cardStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "cardStyle", required: false }] }], textStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "textStyle", required: false }] }], checkColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkColor", required: false }] }], forkColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "forkColor", required: false }] }], issueColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "issueColor", required: false }] }], pasteColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "pasteColor", required: false }] }], starColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "starColor", required: false }] }], gitProviderConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "gitProviderConfig", required: false }] }], showForked: [{ type: i0.Input, args: [{ isSignal: true, alias: "showForked", required: false }] }], showOwn: [{ type: i0.Input, args: [{ isSignal: true, alias: "showOwn", required: false }] }] } });
302
319
 
303
320
  /**
304
321
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"tehw0lf-git-portfolio.mjs","sources":["../tmp-esm2022/lib/git-provider.service.js","../tmp-esm2022/lib/octicon.directive.js","../tmp-esm2022/lib/repo-card/repo-card.component.js","../tmp-esm2022/lib/types/git-providers-type.js","../tmp-esm2022/lib/git-portfolio.component.js","../tmp-esm2022/tehw0lf-git-portfolio.js"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable, inject } from '@angular/core';\nimport { BehaviorSubject, of, zip } from 'rxjs';\nimport { map, tap, shareReplay } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nexport class GitProviderService {\n constructor() {\n this.http = inject(HttpClient);\n this.CACHE_TTL = 10 * 60 * 1000; // 10 minutes\n this.MAX_CACHE_SIZE = 50;\n this.loadingStateSubject = new BehaviorSubject(true);\n this.repositorySubject = new BehaviorSubject({});\n this.repositoryCache = new Map();\n }\n get loading() {\n return this.loadingStateSubject.asObservable();\n }\n getRepositories(gitProviderUserNames) {\n const cacheKey = this.createCacheKey(gitProviderUserNames);\n const cachedEntry = this.repositoryCache.get(cacheKey);\n // Check if cache entry exists and is still valid\n if (cachedEntry && this.isCacheValid(cachedEntry)) {\n return cachedEntry.data;\n }\n // Clean up expired entries and manage cache size\n this.cleanupCache();\n const repositories$ = this.fetchRepositories(gitProviderUserNames).pipe(tap((repositories) => {\n this.repositorySubject.next(repositories);\n this.loadingStateSubject.next(false);\n }), shareReplay(1));\n this.repositoryCache.set(cacheKey, {\n data: repositories$,\n timestamp: Date.now(),\n ttl: this.CACHE_TTL\n });\n return repositories$;\n }\n createCacheKey(config) {\n if (!config)\n return 'default';\n const parts = [];\n if (config.github)\n parts.push(`gh:${config.github}`);\n if (config.gitlab)\n parts.push(`gl:${config.gitlab}`);\n return parts.join('|') || 'default';\n }\n isCacheValid(entry) {\n return (Date.now() - entry.timestamp) < entry.ttl;\n }\n cleanupCache() {\n // Remove expired entries\n for (const [key, entry] of this.repositoryCache.entries()) {\n if (!this.isCacheValid(entry)) {\n this.repositoryCache.delete(key);\n }\n }\n // If cache is still too large, remove oldest entries\n if (this.repositoryCache.size >= this.MAX_CACHE_SIZE) {\n const entries = Array.from(this.repositoryCache.entries())\n .sort(([, a], [, b]) => a.timestamp - b.timestamp);\n const toRemove = entries.slice(0, entries.length - this.MAX_CACHE_SIZE + 1);\n toRemove.forEach(([key]) => this.repositoryCache.delete(key));\n }\n }\n fetchRepositories(gitProviderUserNames) {\n return zip(this.fetchGithubRepositories(gitProviderUserNames?.github ?? ''), this.fetchGitlabRepositories(gitProviderUserNames?.gitlab ?? '')).pipe(map((gitRepositoryMap) => {\n const repositories = {\n github: this.filterAndSortGitRepositories(gitRepositoryMap[0]),\n gitlab: this.filterAndSortGitRepositories(gitRepositoryMap[1])\n };\n return repositories;\n }));\n }\n filterAndSortGitRepositories(gitRepositoryArray) {\n return {\n own: gitRepositoryArray\n .filter((gitRepository) => !gitRepository.fork)\n .sort((repoA, repoB) => (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0)),\n forked: gitRepositoryArray\n .filter((gitRepository) => gitRepository.fork)\n .sort((repoA, repoB) => (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0))\n };\n }\n fetchGithubRepositories(githubUser) {\n if (githubUser !== '') {\n return this.http.get(`https://api.github.com/users/${githubUser}/repos`).pipe(shareReplay(1));\n }\n return of([]);\n }\n fetchGitlabRepositories(gitlabUser) {\n if (gitlabUser !== '') {\n return this.http.get(`https://gitlab.com/api/v4/users/${gitlabUser}/projects`).pipe(shareReplay(1));\n }\n return of([]);\n }\n clearCache() {\n this.repositoryCache.clear();\n this.loadingStateSubject.next(true);\n this.repositorySubject.next({});\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: GitProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: GitProviderService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: GitProviderService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXByb3ZpZGVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2dpdC1wb3J0Zm9saW8vc3JjL2xpYi9naXQtcHJvdmlkZXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDbEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBYyxFQUFFLEVBQUUsR0FBR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YmxlPEdpdFJlcG9zaXRvcnlbXT4ge1xuICAgIGlmIChnaXRsYWJVc2VyICE9PSAnJykge1xuICAgICAgcmV0dXJuIHRoaXMuaHR0cC5nZXQ8R2l0UmVwb3NpdG9yeVtdPihcbiAgICAgICAgYGh0dHBzOi8vZ2l0bGFiLmNvbS9hcGkvdjQvdXNlcnMvJHtnaXRsYWJVc2VyfS9wcm9qZWN0c2BcbiAgICAgICkucGlwZShzaGFyZVJlcGxheSgxKSk7XG4gICAgfVxuICAgIHJldHVybiBvZihbXSk7XG4gIH1cblxuICBjbGVhckNhY2hlKCk6IHZvaWQge1xuICAgIHRoaXMucmVwb3NpdG9yeUNhY2hlLmNsZWFyKCk7XG4gICAgdGhpcy5sb2FkaW5nU3RhdGVTdWJqZWN0Lm5leHQodHJ1ZSk7XG4gICAgdGhpcy5yZXBvc2l0b3J5U3ViamVjdC5uZXh0KHt9KTtcbiAgfVxufVxuIl19","import { Directive, ElementRef, input, Renderer2, inject } from '@angular/core';\nimport octicons from '@primer/octicons';\nimport * as i0 from \"@angular/core\";\nexport class OcticonDirective {\n constructor() {\n this.elementRef = inject(ElementRef);\n this.renderer = inject(Renderer2);\n this.octicon = input.required(...(ngDevMode ? [{ debugName: \"octicon\" }] : []));\n this.color = input.required(...(ngDevMode ? [{ debugName: \"color\" }] : []));\n this.width = input(...(ngDevMode ? [undefined, { debugName: \"width\" }] : []));\n }\n ngOnInit() {\n const el = this.elementRef.nativeElement;\n if (this.octicon()) {\n const iconName = this.octicon();\n if (octicons[iconName] !== undefined) {\n el.innerHTML = octicons[iconName].toSVG();\n const icon = el.firstChild;\n if (this.color() && icon) {\n this.renderer.setStyle(icon, 'fill', this.color());\n }\n if (this.width() && icon) {\n this.renderer.setStyle(icon, 'width', this.width());\n this.renderer.setStyle(icon, 'height', this.width());\n }\n }\n else {\n el.innerHTML = octicons['alert'].toSVG();\n if (el.firstChild) {\n this.renderer.setStyle(el.firstChild, 'fill', 'red');\n }\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: OcticonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"17.1.0\", version: \"20.3.3\", type: OcticonDirective, isStandalone: true, selector: \"[octicon]\", inputs: { octicon: { classPropertyName: \"octicon\", publicName: \"octicon\", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: \"color\", publicName: \"color\", isSignal: true, isRequired: true, transformFunction: null }, width: { classPropertyName: \"width\", publicName: \"width\", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: OcticonDirective, decorators: [{\n type: Directive,\n args: [{\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: '[octicon]',\n standalone: true\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2N0aWNvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2dpdC1wb3J0Zm9saW8vc3JjL2xpYi9vY3RpY29uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQVUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4RixPQUFPLFFBQXNCLE1BQU0sa0JBQWtCLENBQUM7O0FBT3RELE1BQU0sT0FBTyxnQkFBZ0I7SUFMN0I7UUFNVSxlQUFVLEdBQUcsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ2hDLGFBQVEsR0FBRyxNQUFNLENBQUMsU0FBUyxDQUFDLENBQUM7UUFFckMsWUFBTy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dENoaWxkKSB7XG4gICAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZShlbC5maXJzdENoaWxkLCAnZmlsbCcsICdyZWQnKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19","import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { DatePipe, NgStyle } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, output } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport * as githubLanguageColors from 'github-language-colors/colors.json';\nimport { OcticonDirective } from '../octicon.directive';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/card\";\nimport * as i2 from \"@angular/material/button\";\nimport * as i3 from \"@angular/cdk/clipboard\";\nexport class RepoCardComponent {\n constructor() {\n this.buttonStyle = input.required(...(ngDevMode ? [{ debugName: \"buttonStyle\" }] : []));\n this.cardStyle = input.required(...(ngDevMode ? [{ debugName: \"cardStyle\" }] : []));\n this.textStyle = input.required(...(ngDevMode ? [{ debugName: \"textStyle\" }] : []));\n this.checkColor = input.required(...(ngDevMode ? [{ debugName: \"checkColor\" }] : []));\n this.forkColor = input.required(...(ngDevMode ? [{ debugName: \"forkColor\" }] : []));\n this.issueColor = input.required(...(ngDevMode ? [{ debugName: \"issueColor\" }] : []));\n this.pasteColor = input.required(...(ngDevMode ? [{ debugName: \"pasteColor\" }] : []));\n this.starColor = input.required(...(ngDevMode ? [{ debugName: \"starColor\" }] : []));\n this.gitRepo = input.required(...(ngDevMode ? [{ debugName: \"gitRepo\" }] : []));\n this.isCopied = input(false, ...(ngDevMode ? [{ debugName: \"isCopied\" }] : []));\n this.copiedToClipboard = output();\n this.githubLanguageColors = githubLanguageColors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RepoCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.3\", type: RepoCardComponent, isStandalone: true, selector: \"repo-card\", inputs: { buttonStyle: { classPropertyName: \"buttonStyle\", publicName: \"buttonStyle\", isSignal: true, isRequired: true, transformFunction: null }, cardStyle: { classPropertyName: \"cardStyle\", publicName: \"cardStyle\", isSignal: true, isRequired: true, transformFunction: null }, textStyle: { classPropertyName: \"textStyle\", publicName: \"textStyle\", isSignal: true, isRequired: true, transformFunction: null }, checkColor: { classPropertyName: \"checkColor\", publicName: \"checkColor\", isSignal: true, isRequired: true, transformFunction: null }, forkColor: { classPropertyName: \"forkColor\", publicName: \"forkColor\", isSignal: true, isRequired: true, transformFunction: null }, issueColor: { classPropertyName: \"issueColor\", publicName: \"issueColor\", isSignal: true, isRequired: true, transformFunction: null }, pasteColor: { classPropertyName: \"pasteColor\", publicName: \"pasteColor\", isSignal: true, isRequired: true, transformFunction: null }, starColor: { classPropertyName: \"starColor\", publicName: \"starColor\", isSignal: true, isRequired: true, transformFunction: null }, gitRepo: { classPropertyName: \"gitRepo\", publicName: \"gitRepo\", isSignal: true, isRequired: true, transformFunction: null }, isCopied: { classPropertyName: \"isCopied\", publicName: \"isCopied\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copiedToClipboard: \"copiedToClipboard\" }, ngImport: i0, template: \"<mat-card [ngStyle]=\\\"cardStyle()\\\">\\n <mat-card-header>\\n <div\\n mat-card-avatar\\n [ngStyle]=\\\"{\\n 'background-image':\\n 'url(' +\\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\\n ')',\\n 'background-size': 'cover',\\n 'border-radius': 0\\n }\\\"\\n ></div>\\n <mat-card-title\\n ><a\\n mat-button\\n [ngStyle]=\\\"buttonStyle()\\\"\\n target=\\\"_blank\\\"\\n href=\\\"{{ gitRepo().html_url || gitRepo().web_url }}\\\"\\n >\\n {{ gitRepo().name }}\\n </a>\\n </mat-card-title>\\n <mat-card-subtitle class=\\\"flex-row\\\">\\n <div class=\\\"info-item flex-row flex-gap-12\\\">\\n <div\\n [ngStyle]=\\\"{\\n 'background-color':\\n gitRepo().language !== undefined\\n ? githubLanguageColors[gitRepo().language!]\\n : 'transparent'\\n }\\\"\\n class=\\\"language-icon flex-gap-5\\\"\\n ></div>\\n <div [ngStyle]=\\\"textStyle()\\\">{{ gitRepo().language }}</div>\\n </div>\\n <div class=\\\"info-item flex-row flex-gap-12\\\">\\n <div octicon=\\\"star\\\" [color]=\\\"starColor()\\\" class=\\\"flex-gap-5\\\"></div>\\n <div [ngStyle]=\\\"textStyle()\\\">\\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\\n </div>\\n </div>\\n <div class=\\\"info-item flex-row flex-gap-12\\\">\\n <div\\n octicon=\\\"repo-forked\\\"\\n [color]=\\\"forkColor()\\\"\\n class=\\\"flex-gap-5\\\"\\n ></div>\\n <div [ngStyle]=\\\"textStyle()\\\">{{ gitRepo().forks_count }}</div>\\n </div>\\n @if (gitRepo().open_issues_count) {\\n <div class=\\\"info-item flex-row flex-gap-12\\\">\\n <div\\n octicon=\\\"issue-opened\\\"\\n [color]=\\\"issueColor()\\\"\\n class=\\\"flex-gap-5\\\"\\n ></div>\\n <div [ngStyle]=\\\"textStyle()\\\">\\n {{ gitRepo().open_issues_count }}\\n </div>\\n </div>\\n }\\n </mat-card-subtitle>\\n </mat-card-header>\\n <mat-card-content>\\n <p>{{ gitRepo().description }}</p>\\n </mat-card-content>\\n <mat-card-footer class=\\\"flex-row\\\">\\n <span class=\\\"mat-footer-cell flex-fxflex flex-gap-12\\\">\\n <span class=\\\"footer-span\\\" [ngStyle]=\\\"textStyle()\\\"\\n >Created: {{ gitRepo().created_at | date }}</span\\n >\\n <span class=\\\"footer-span\\\" [ngStyle]=\\\"textStyle()\\\"\\n >Updated:\\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\\n >\\n </span>\\n <span class=\\\"mat-footer-cell\\\">\\n <button\\n [ngStyle]=\\\"buttonStyle()\\\"\\n mat-button\\n [cdkCopyToClipboard]=\\\"\\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\\n \\\"\\n (cdkCopyToClipboardCopied)=\\\"copiedToClipboard.emit(true)\\\"\\n class=\\\"clipboard-button\\\"\\n >\\n <span class=\\\"mat-button-wrapper flex-row\\\">\\n @if (isCopied()) {\\n <div\\n octicon=\\\"check\\\"\\n [color]=\\\"checkColor()\\\"\\n width=\\\"24\\\"\\n class=\\\"flex-gap-5\\\"\\n ></div>\\n }\\n <div\\n octicon=\\\"paste\\\"\\n [color]=\\\"pasteColor()\\\"\\n width=\\\"24px\\\"\\n class=\\\"flex-gap-5\\\"\\n ></div>\\n <span>Copy URL</span>\\n </span>\\n </button>\\n </span>\\n </mat-card-footer>\\n</mat-card>\\n\", styles: [\".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}\\n\"], dependencies: [{ kind: \"ngmodule\", type: MatCardModule }, { kind: \"component\", type: i1.MatCard, selector: \"mat-card\", inputs: [\"appearance\"], exportAs: [\"matCard\"] }, { kind: \"directive\", type: i1.MatCardAvatar, selector: \"[mat-card-avatar], [matCardAvatar]\" }, { kind: \"directive\", type: i1.MatCardContent, selector: \"mat-card-content\" }, { kind: \"directive\", type: i1.MatCardFooter, selector: \"mat-card-footer\" }, { kind: \"component\", type: i1.MatCardHeader, selector: \"mat-card-header\" }, { kind: \"directive\", type: i1.MatCardSubtitle, selector: \"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]\" }, { kind: \"directive\", type: i1.MatCardTitle, selector: \"mat-card-title, [mat-card-title], [matCardTitle]\" }, { kind: \"directive\", type: NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"ngmodule\", type: MatButtonModule }, { kind: \"component\", type: i2.MatButton, selector: \" button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] \", inputs: [\"matButton\"], exportAs: [\"matButton\", \"matAnchor\"] }, { kind: \"directive\", type: OcticonDirective, selector: \"[octicon]\", inputs: [\"octicon\", \"color\", \"width\"] }, { kind: \"ngmodule\", type: ClipboardModule }, { kind: \"directive\", type: i3.CdkCopyToClipboard, selector: \"[cdkCopyToClipboard]\", inputs: [\"cdkCopyToClipboard\", \"cdkCopyToClipboardAttempts\"], outputs: [\"cdkCopyToClipboardCopied\"] }, { kind: \"pipe\", type: DatePipe, name: \"date\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RepoCardComponent, decorators: [{\n type: Component,\n args: [{ selector: 'repo-card', imports: [\n MatCardModule,\n NgStyle,\n MatButtonModule,\n OcticonDirective,\n ClipboardModule,\n DatePipe\n ], changeDetection: ChangeDetectionStrategy.OnPush, template: \"<mat-card [ngStyle]=\\\"cardStyle()\\\">\\n <mat-card-header>\\n <div\\n mat-card-avatar\\n [ngStyle]=\\\"{\\n 'background-image':\\n 'url(' +\\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\\n ')',\\n 'background-size': 'cover',\\n 'border-radius': 0\\n }\\\"\\n ></div>\\n <mat-card-title\\n ><a\\n mat-button\\n [ngStyle]=\\\"buttonStyle()\\\"\\n target=\\\"_blank\\\"\\n href=\\\"{{ gitRepo().html_url || gitRepo().web_url }}\\\"\\n >\\n {{ gitRepo().name }}\\n </a>\\n </mat-card-title>\\n <mat-card-subtitle class=\\\"flex-row\\\">\\n <div class=\\\"info-item flex-row flex-gap-12\\\">\\n <div\\n [ngStyle]=\\\"{\\n 'background-color':\\n gitRepo().language !== undefined\\n ? githubLanguageColors[gitRepo().language!]\\n : 'transparent'\\n }\\\"\\n class=\\\"language-icon flex-gap-5\\\"\\n ></div>\\n <div [ngStyle]=\\\"textStyle()\\\">{{ gitRepo().language }}</div>\\n </div>\\n <div class=\\\"info-item flex-row flex-gap-12\\\">\\n <div octicon=\\\"star\\\" [color]=\\\"starColor()\\\" class=\\\"flex-gap-5\\\"></div>\\n <div [ngStyle]=\\\"textStyle()\\\">\\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\\n </div>\\n </div>\\n <div class=\\\"info-item flex-row flex-gap-12\\\">\\n <div\\n octicon=\\\"repo-forked\\\"\\n [color]=\\\"forkColor()\\\"\\n class=\\\"flex-gap-5\\\"\\n ></div>\\n <div [ngStyle]=\\\"textStyle()\\\">{{ gitRepo().forks_count }}</div>\\n </div>\\n @if (gitRepo().open_issues_count) {\\n <div class=\\\"info-item flex-row flex-gap-12\\\">\\n <div\\n octicon=\\\"issue-opened\\\"\\n [color]=\\\"issueColor()\\\"\\n class=\\\"flex-gap-5\\\"\\n ></div>\\n <div [ngStyle]=\\\"textStyle()\\\">\\n {{ gitRepo().open_issues_count }}\\n </div>\\n </div>\\n }\\n </mat-card-subtitle>\\n </mat-card-header>\\n <mat-card-content>\\n <p>{{ gitRepo().description }}</p>\\n </mat-card-content>\\n <mat-card-footer class=\\\"flex-row\\\">\\n <span class=\\\"mat-footer-cell flex-fxflex flex-gap-12\\\">\\n <span class=\\\"footer-span\\\" [ngStyle]=\\\"textStyle()\\\"\\n >Created: {{ gitRepo().created_at | date }}</span\\n >\\n <span class=\\\"footer-span\\\" [ngStyle]=\\\"textStyle()\\\"\\n >Updated:\\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\\n >\\n </span>\\n <span class=\\\"mat-footer-cell\\\">\\n <button\\n [ngStyle]=\\\"buttonStyle()\\\"\\n mat-button\\n [cdkCopyToClipboard]=\\\"\\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\\n \\\"\\n (cdkCopyToClipboardCopied)=\\\"copiedToClipboard.emit(true)\\\"\\n class=\\\"clipboard-button\\\"\\n >\\n <span class=\\\"mat-button-wrapper flex-row\\\">\\n @if (isCopied()) {\\n <div\\n octicon=\\\"check\\\"\\n [color]=\\\"checkColor()\\\"\\n width=\\\"24\\\"\\n class=\\\"flex-gap-5\\\"\\n ></div>\\n }\\n <div\\n octicon=\\\"paste\\\"\\n [color]=\\\"pasteColor()\\\"\\n width=\\\"24px\\\"\\n class=\\\"flex-gap-5\\\"\\n ></div>\\n <span>Copy URL</span>\\n </span>\\n </button>\\n </span>\\n </mat-card-footer>\\n</mat-card>\\n\", styles: [\".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}\\n\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ICAgICAgIG1hdC1idXR0b25cbiAgICAgICAgW2Nka0NvcHlUb0NsaXBib2FyZF09XCJcbiAgICAgICAgICBnaXRSZXBvKCkuY2xvbmVfdXJsIHx8IGdpdFJlcG8oKS5odHRwX3VybF90b19yZXBvIHx8ICcnXG4gICAgICAgIFwiXG4gICAgICAgIChjZGtDb3B5VG9DbGlwYm9hcmRDb3BpZWQpPVwiY29waWVkVG9DbGlwYm9hcmQuZW1pdCh0cnVlKVwiXG4gICAgICAgIGNsYXNzPVwiY2xpcGJvYXJkLWJ1dHRvblwiXG4gICAgICA+XG4gICAgICAgIDxzcGFuIGNsYXNzPVwibWF0LWJ1dHRvbi13cmFwcGVyIGZsZXgtcm93XCI+XG4gICAgICAgICAgQGlmIChpc0NvcGllZCgpKSB7XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgIG9jdGljb249XCJjaGVja1wiXG4gICAgICAgICAgICAgIFtjb2xvcl09XCJjaGVja0NvbG9yKClcIlxuICAgICAgICAgICAgICB3aWR0aD1cIjI0XCJcbiAgICAgICAgICAgICAgY2xhc3M9XCJmbGV4LWdhcC01XCJcbiAgICAgICAgICAgID48L2Rpdj5cbiAgICAgICAgICB9XG4gICAgICAgICAgPGRpdlxuICAgICAgICAgICAgb2N0aWNvbj1cInBhc3RlXCJcbiAgICAgICAgICAgIFtjb2xvcl09XCJwYXN0ZUNvbG9yKClcIlxuICAgICAgICAgICAgd2lkdGg9XCIyNHB4XCJcbiAgICAgICAgICAgIGNsYXNzPVwiZmxleC1nYXAtNVwiXG4gICAgICAgICAgPjwvZGl2PlxuICAgICAgICAgIDxzcGFuPkNvcHkgVVJMPC9zcGFuPlxuICAgICAgICA8L3NwYW4+XG4gICAgICA8L2J1dHRvbj5cbiAgICA8L3NwYW4+XG4gIDwvbWF0LWNhcmQtZm9vdGVyPlxuPC9tYXQtY2FyZD5cbiJdfQ==","export var GitProviders;\n(function (GitProviders) {\n GitProviders[\"github\"] = \"GitHub\";\n GitProviders[\"gitlab\"] = \"GitLab\";\n})(GitProviders || (GitProviders = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXByb3ZpZGVycy10eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9naXQtcG9ydGZvbGlvL3NyYy9saWIvdHlwZXMvZ2l0LXByb3ZpZGVycy10eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLFlBR1g7QUFIRCxXQUFZLFlBQVk7SUFDdEIsaUNBQWlCLENBQUE7SUFDakIsaUNBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQUhXLFlBQVksS0FBWixZQUFZLFFBR3ZCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gR2l0UHJvdmlkZXJzIHtcbiAgZ2l0aHViID0gJ0dpdEh1YicsXG4gIGdpdGxhYiA9ICdHaXRMYWInXG59XG4iXX0=","import { BreakpointObserver, LayoutModule } from '@angular/cdk/layout';\nimport { CommonModule, KeyValuePipe, NgStyle } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, inject, signal, effect } from '@angular/core';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { takeUntil, tap } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport { GitProviderService } from './git-provider.service';\nimport { RepoCardComponent } from './repo-card/repo-card.component';\nimport { GitProviders } from './types/git-providers-type';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/material/progress-spinner\";\nexport class GitPortfolioComponent {\n constructor() {\n this.gitProviderService = inject(GitProviderService);\n this.breakpointObserver = inject(BreakpointObserver);\n this.buttonStyle = input({ 'background-color': '#424242', color: '#cc7832' }, ...(ngDevMode ? [{ debugName: \"buttonStyle\" }] : []));\n this.cardStyle = input({\n color: '#437da8',\n 'background-color': 'rgba(34, 34, 34, 0.75)',\n 'backdrop-filter': 'blur(50px)'\n }, ...(ngDevMode ? [{ debugName: \"cardStyle\" }] : []));\n this.textStyle = input({ color: '#437da8' }, ...(ngDevMode ? [{ debugName: \"textStyle\" }] : []));\n this.checkColor = input('#38e038', ...(ngDevMode ? [{ debugName: \"checkColor\" }] : []));\n this.forkColor = input('#437da8', ...(ngDevMode ? [{ debugName: \"forkColor\" }] : []));\n this.issueColor = input('rgb(56, 224, 56)', ...(ngDevMode ? [{ debugName: \"issueColor\" }] : []));\n this.pasteColor = input('#cc7832', ...(ngDevMode ? [{ debugName: \"pasteColor\" }] : []));\n this.starColor = input('gold', ...(ngDevMode ? [{ debugName: \"starColor\" }] : []));\n this.gitProviderConfig = input({}, ...(ngDevMode ? [{ debugName: \"gitProviderConfig\" }] : []));\n this.showForked = input(true, ...(ngDevMode ? [{ debugName: \"showForked\" }] : []));\n this.showOwn = input(true, ...(ngDevMode ? [{ debugName: \"showOwn\" }] : []));\n this.loading = toSignal(this.gitProviderService.loading, { initialValue: true });\n this.gitProviders = GitProviders;\n this.currentRepo = signal(undefined, ...(ngDevMode ? [{ debugName: \"currentRepo\" }] : []));\n this.gitRepositories = signal(undefined, ...(ngDevMode ? [{ debugName: \"gitRepositories\" }] : []));\n this.viewport = signal('', ...(ngDevMode ? [{ debugName: \"viewport\" }] : []));\n this.unsubscribe$ = new Subject();\n effect(() => {\n this.getRepositories();\n });\n this.breakpointObserver\n .observe([\n '(max-width: 599.98px)',\n '(max-width: 959.98px)',\n '(min-width: 960px)'\n ])\n .pipe(tap((breakpointState) => {\n if (breakpointState.breakpoints['(max-width: 599.98px)']) {\n this.viewport.set('xsmall');\n }\n else if (breakpointState.breakpoints['(max-width: 959.98px)']) {\n this.viewport.set('small');\n }\n else {\n this.viewport.set('medium');\n }\n }), takeUntil(this.unsubscribe$))\n .subscribe();\n }\n ngOnDestroy() {\n this.unsubscribe$.next();\n this.unsubscribe$.complete();\n }\n copyToClipboard(gitRepo) {\n this.currentRepo.set(gitRepo);\n }\n isCopiedToClipboard(gitRepo) {\n if (!this.currentRepo()) {\n return false;\n }\n return this.currentRepo()?.id === gitRepo.id ? true : false;\n }\n getRepositories() {\n this.gitProviderService\n .getRepositories(this.gitProviderConfig())\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(repositories => {\n this.gitRepositories.set(repositories);\n });\n }\n getGitRepositoriesOfType(gitRepositories, gitProvider, type) {\n return gitRepositories?.[gitProvider]?.[type] ?? [];\n }\n hasAnyRepositories(gitRepositories, gitProvider) {\n return ((gitRepositories?.[gitProvider] &&\n (gitRepositories[gitProvider].own?.length > 0 ||\n gitRepositories[gitProvider].forked?.length > 0)) ??\n false);\n }\n hasRepositoriesOfType(gitRepositories, gitProvider, type) {\n return ((gitRepositories?.[gitProvider] &&\n gitRepositories[gitProvider]?.[type]?.length > 0) ??\n false);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: GitPortfolioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.3\", type: GitPortfolioComponent, isStandalone: true, selector: \"git-portfolio\", inputs: { buttonStyle: { classPropertyName: \"buttonStyle\", publicName: \"buttonStyle\", isSignal: true, isRequired: false, transformFunction: null }, cardStyle: { classPropertyName: \"cardStyle\", publicName: \"cardStyle\", isSignal: true, isRequired: false, transformFunction: null }, textStyle: { classPropertyName: \"textStyle\", publicName: \"textStyle\", isSignal: true, isRequired: false, transformFunction: null }, checkColor: { classPropertyName: \"checkColor\", publicName: \"checkColor\", isSignal: true, isRequired: false, transformFunction: null }, forkColor: { classPropertyName: \"forkColor\", publicName: \"forkColor\", isSignal: true, isRequired: false, transformFunction: null }, issueColor: { classPropertyName: \"issueColor\", publicName: \"issueColor\", isSignal: true, isRequired: false, transformFunction: null }, pasteColor: { classPropertyName: \"pasteColor\", publicName: \"pasteColor\", isSignal: true, isRequired: false, transformFunction: null }, starColor: { classPropertyName: \"starColor\", publicName: \"starColor\", isSignal: true, isRequired: false, transformFunction: null }, gitProviderConfig: { classPropertyName: \"gitProviderConfig\", publicName: \"gitProviderConfig\", isSignal: true, isRequired: false, transformFunction: null }, showForked: { classPropertyName: \"showForked\", publicName: \"showForked\", isSignal: true, isRequired: false, transformFunction: null }, showOwn: { classPropertyName: \"showOwn\", publicName: \"showOwn\", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: \"@if (gitRepositories(); as gitRepositories) {\\n <div>\\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\\n <div>\\n <h1 [ngStyle]=\\\"textStyle()\\\">{{ gitProvider.value }}</h1>\\n @if (showOwn()) {\\n <div>\\n <h2 [ngStyle]=\\\"textStyle()\\\" class=\\\"mat-headline\\\">Own Repos</h2>\\n <div\\n class=\\\"flex-align-start\\\"\\n [ngClass]=\\\"{\\n 'flex-row-wrap':\\n viewport() === 'medium' || viewport() === 'small',\\n 'flex-column': viewport() === 'xsmall'\\n }\\\"\\n >\\n @if (loading() === true) {\\n <div>\\n <mat-spinner></mat-spinner>\\n </div>\\n }\\n @for (\\n gitRepo of getGitRepositoriesOfType(\\n gitRepositories,\\n gitProvider.key,\\n 'own'\\n );\\n track gitRepo\\n ) {\\n <repo-card\\n [buttonStyle]=\\\"buttonStyle()\\\"\\n [cardStyle]=\\\"cardStyle()\\\"\\n [textStyle]=\\\"textStyle()\\\"\\n [checkColor]=\\\"checkColor()\\\"\\n [forkColor]=\\\"forkColor()\\\"\\n [issueColor]=\\\"issueColor()\\\"\\n [pasteColor]=\\\"pasteColor()\\\"\\n [starColor]=\\\"starColor()\\\"\\n [gitRepo]=\\\"gitRepo\\\"\\n [isCopied]=\\\"isCopiedToClipboard(gitRepo)\\\"\\n (copiedToClipboard)=\\\"copyToClipboard(gitRepo)\\\"\\n class=\\\"repository-card flex-align-stretch\\\"\\n [ngClass]=\\\"{\\n 'flex-fxflex': viewport() === 'medium',\\n 'flex-fxflex-lt-md': viewport() === 'small',\\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\\n }\\\"\\n >\\n </repo-card>\\n }\\n @if (\\n loading() === false &&\\n !hasRepositoriesOfType(\\n gitRepositories,\\n gitProvider.key,\\n 'own'\\n )\\n ) {\\n <div [ngStyle]=\\\"textStyle()\\\">\\n This user has not created any repositories yet\\n </div>\\n }\\n </div>\\n </div>\\n }\\n @if (showForked()) {\\n <div>\\n <h2 [ngStyle]=\\\"textStyle()\\\" class=\\\"mat-headline\\\">Forked Repos</h2>\\n <div\\n class=\\\"flex-align-start\\\"\\n [ngClass]=\\\"{\\n 'flex-row-wrap':\\n viewport() === 'medium' || viewport() === 'small',\\n 'flex-column': viewport() === 'xsmall'\\n }\\\"\\n >\\n @if (loading() === true) {\\n <div>\\n <mat-spinner></mat-spinner>\\n </div>\\n }\\n @for (\\n gitRepo of getGitRepositoriesOfType(\\n gitRepositories,\\n gitProvider.key,\\n 'forked'\\n );\\n track gitRepo\\n ) {\\n <repo-card\\n [buttonStyle]=\\\"buttonStyle()\\\"\\n [cardStyle]=\\\"cardStyle()\\\"\\n [textStyle]=\\\"textStyle()\\\"\\n [checkColor]=\\\"checkColor()\\\"\\n [forkColor]=\\\"forkColor()\\\"\\n [issueColor]=\\\"issueColor()\\\"\\n [pasteColor]=\\\"pasteColor()\\\"\\n [starColor]=\\\"starColor()\\\"\\n [gitRepo]=\\\"gitRepo\\\"\\n [isCopied]=\\\"isCopiedToClipboard(gitRepo)\\\"\\n (copiedToClipboard)=\\\"copyToClipboard(gitRepo)\\\"\\n class=\\\"repository-card flex-align-stretch\\\"\\n [ngClass]=\\\"{\\n 'flex-fxflex': viewport() === 'medium',\\n 'flex-fxflex-lt-md': viewport() === 'small',\\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\\n }\\\"\\n ></repo-card>\\n }\\n @if (\\n loading() === false &&\\n !hasRepositoriesOfType(\\n gitRepositories,\\n gitProvider.key,\\n 'forked'\\n )\\n ) {\\n <div [ngStyle]=\\\"textStyle()\\\">\\n This user has not forked any repositories yet\\n </div>\\n }\\n </div>\\n </div>\\n }\\n </div>\\n }\\n }\\n </div>\\n}\\n\", styles: [\".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}\\n\"], dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"ngmodule\", type: LayoutModule }, { kind: \"ngmodule\", type: MatProgressSpinnerModule }, { kind: \"component\", type: i2.MatProgressSpinner, selector: \"mat-progress-spinner, mat-spinner\", inputs: [\"color\", \"mode\", \"value\", \"diameter\", \"strokeWidth\"], exportAs: [\"matProgressSpinner\"] }, { kind: \"component\", type: RepoCardComponent, selector: \"repo-card\", inputs: [\"buttonStyle\", \"cardStyle\", \"textStyle\", \"checkColor\", \"forkColor\", \"issueColor\", \"pasteColor\", \"starColor\", \"gitRepo\", \"isCopied\"], outputs: [\"copiedToClipboard\"] }, { kind: \"pipe\", type: i1.KeyValuePipe, name: \"keyvalue\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: GitPortfolioComponent, decorators: [{\n type: Component,\n args: [{ selector: 'git-portfolio', imports: [\n CommonModule,\n LayoutModule,\n NgStyle,\n MatProgressSpinnerModule,\n RepoCardComponent,\n KeyValuePipe\n ], changeDetection: ChangeDetectionStrategy.OnPush, template: \"@if (gitRepositories(); as gitRepositories) {\\n <div>\\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\\n <div>\\n <h1 [ngStyle]=\\\"textStyle()\\\">{{ gitProvider.value }}</h1>\\n @if (showOwn()) {\\n <div>\\n <h2 [ngStyle]=\\\"textStyle()\\\" class=\\\"mat-headline\\\">Own Repos</h2>\\n <div\\n class=\\\"flex-align-start\\\"\\n [ngClass]=\\\"{\\n 'flex-row-wrap':\\n viewport() === 'medium' || viewport() === 'small',\\n 'flex-column': viewport() === 'xsmall'\\n }\\\"\\n >\\n @if (loading() === true) {\\n <div>\\n <mat-spinner></mat-spinner>\\n </div>\\n }\\n @for (\\n gitRepo of getGitRepositoriesOfType(\\n gitRepositories,\\n gitProvider.key,\\n 'own'\\n );\\n track gitRepo\\n ) {\\n <repo-card\\n [buttonStyle]=\\\"buttonStyle()\\\"\\n [cardStyle]=\\\"cardStyle()\\\"\\n [textStyle]=\\\"textStyle()\\\"\\n [checkColor]=\\\"checkColor()\\\"\\n [forkColor]=\\\"forkColor()\\\"\\n [issueColor]=\\\"issueColor()\\\"\\n [pasteColor]=\\\"pasteColor()\\\"\\n [starColor]=\\\"starColor()\\\"\\n [gitRepo]=\\\"gitRepo\\\"\\n [isCopied]=\\\"isCopiedToClipboard(gitRepo)\\\"\\n (copiedToClipboard)=\\\"copyToClipboard(gitRepo)\\\"\\n class=\\\"repository-card flex-align-stretch\\\"\\n [ngClass]=\\\"{\\n 'flex-fxflex': viewport() === 'medium',\\n 'flex-fxflex-lt-md': viewport() === 'small',\\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\\n }\\\"\\n >\\n </repo-card>\\n }\\n @if (\\n loading() === false &&\\n !hasRepositoriesOfType(\\n gitRepositories,\\n gitProvider.key,\\n 'own'\\n )\\n ) {\\n <div [ngStyle]=\\\"textStyle()\\\">\\n This user has not created any repositories yet\\n </div>\\n }\\n </div>\\n </div>\\n }\\n @if (showForked()) {\\n <div>\\n <h2 [ngStyle]=\\\"textStyle()\\\" class=\\\"mat-headline\\\">Forked Repos</h2>\\n <div\\n class=\\\"flex-align-start\\\"\\n [ngClass]=\\\"{\\n 'flex-row-wrap':\\n viewport() === 'medium' || viewport() === 'small',\\n 'flex-column': viewport() === 'xsmall'\\n }\\\"\\n >\\n @if (loading() === true) {\\n <div>\\n <mat-spinner></mat-spinner>\\n </div>\\n }\\n @for (\\n gitRepo of getGitRepositoriesOfType(\\n gitRepositories,\\n gitProvider.key,\\n 'forked'\\n );\\n track gitRepo\\n ) {\\n <repo-card\\n [buttonStyle]=\\\"buttonStyle()\\\"\\n [cardStyle]=\\\"cardStyle()\\\"\\n [textStyle]=\\\"textStyle()\\\"\\n [checkColor]=\\\"checkColor()\\\"\\n [forkColor]=\\\"forkColor()\\\"\\n [issueColor]=\\\"issueColor()\\\"\\n [pasteColor]=\\\"pasteColor()\\\"\\n [starColor]=\\\"starColor()\\\"\\n [gitRepo]=\\\"gitRepo\\\"\\n [isCopied]=\\\"isCopiedToClipboard(gitRepo)\\\"\\n (copiedToClipboard)=\\\"copyToClipboard(gitRepo)\\\"\\n class=\\\"repository-card flex-align-stretch\\\"\\n [ngClass]=\\\"{\\n 'flex-fxflex': viewport() === 'medium',\\n 'flex-fxflex-lt-md': viewport() === 'small',\\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\\n }\\\"\\n ></repo-card>\\n }\\n @if (\\n loading() === false &&\\n !hasRepositoriesOfType(\\n gitRepositories,\\n gitProvider.key,\\n 'forked'\\n )\\n ) {\\n <div [ngStyle]=\\\"textStyle()\\\">\\n This user has not forked any repositories yet\\n </div>\\n }\\n </div>\\n </div>\\n }\\n </div>\\n }\\n }\\n </div>\\n}\\n\", styles: [\".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}\\n\"] }]\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXBvcnRmb2xpby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2dpdC1wb3J0Zm9saW8vc3JjL2xpYi9naXQtcG9ydGZvbGlvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvZ2l0LXBvcnRmb2xpby9zcmMvbGliL2dpdC1wb3J0Zm9saW8uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLGtCQUFrQixFQUVsQixZQUFZLEVBQ2IsTUFBTSxxQkFBcUIsQ0FBQztBQUM3QixPQUFPLEVBQ0wsWUFBWSxFQUNaLFlBQVksRUFDWix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7XG4gICAgICAgICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICAgICAgICA8bWF0LXNwaW5uZXI+PC9tYXQtc3Bpbm5lcj5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBAZm9yIChcbiAgICAgICAgICAgICAgICAgIGdpdFJlcG8gb2YgZ2V0R2l0UmVwb3NpdG9yaWVzT2ZUeXBlKFxuICAgICAgICAgICAgICAgICAgICBnaXRSZXBvc2l0b3JpZXMsXG4gICAgICAgICAgICAgICAgICAgIGdpdFByb3ZpZGVyLmtleSxcbiAgICAgICAgICAgICAgICAgICAgJ293bidcbiAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICB0cmFjayBnaXRSZXBvXG4gICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICA8cmVwby1jYXJkXG4gICAgICAgICAgICAgICAgICAgIFtidXR0b25TdHlsZV09XCJidXR0b25TdHlsZSgpXCJcbiAgICAgICAgICAgICAgICAgICAgW2NhcmRTdHlsZV09XCJjYXJkU3R5bGUoKVwiXG4gICAgICAgICAgICAgICAgICAgIFt0ZXh0U3R5bGVdPVwidGV4dFN0eWxlKClcIlxuICAgICAgICAgICAgICAgICAgICBbY2hlY2tDb2xvcl09XCJjaGVja0NvbG9yKClcIlxuICAgICAgICAgICAgICAgICAgICBbZm9ya0NvbG9yXT1cImZvcmtDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW2lzc3VlQ29sb3JdPVwiaXNzdWVDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW3Bhc3RlQ29sb3JdPVwicGFzdGVDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW3N0YXJDb2xvcl09XCJzdGFyQ29sb3IoKVwiXG4gICAgICAgICAgICAgICAgICAgIFtnaXRSZXBvXT1cImdpdFJlcG9cIlxuICAgICAgICAgICAgICAgICAgICBbaXNDb3BpZWRdPVwiaXNDb3BpZWRUb0NsaXBib2FyZChnaXRSZXBvKVwiXG4gICAgICAgICAgICAgICAgICAgIChjb3BpZWRUb0NsaXBib2FyZCk9XCJjb3B5VG9DbGlwYm9hcmQoZ2l0UmVwbylcIlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInJlcG9zaXRvcnktY2FyZCBmbGV4LWFsaWduLXN0cmV0Y2hcIlxuICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7XG4gICAgICAgICAgICAgICAgICAgICAgJ2ZsZXgtZnhmbGV4Jzogdmlld3BvcnQoKSA9PT0gJ21lZGl1bScsXG4gICAgICAgICAgICAgICAgICAgICAgJ2ZsZXgtZnhmbGV4LWx0LW1kJzogdmlld3BvcnQoKSA9PT0gJ3NtYWxsJyxcbiAgICAgICAgICAgICAgICAgICAgICAnZmxleC1meGZsZXgtbHQtc20nOiB2aWV3cG9ydCgpID09PSAneHNtYWxsJ1xuICAgICAgICAgICAgICAgICAgICB9XCJcbiAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgIDwvcmVwby1jYXJkPlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBAaWYgKFxuICAgICAgICAgICAgICAgICAgbG9hZGluZygpID09PSBmYWxzZSAmJlxuICAgICAgICAgICAgICAgICAgIWhhc1JlcG9zaXRvcmllc09mVHlwZShcbiAgICAgICAgICAgICAgICAgICAgZ2l0UmVwb3NpdG9yaWVzLFxuICAgICAgICAgICAgICAgICAgICBnaXRQcm92aWRlci5rZXksXG4gICAgICAgICAgICAgICAgICAgICdvd24nXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICA8ZGl2IFtuZ1N0eWxlXT1cInRleHRTdHlsZSgpXCI+XG4gICAgICAgICAgICAgICAgICAgIFRoaXMgdXNlciBoYXMgbm90IGNyZWF0ZWQgYW55IHJlcG9zaXRvcmllcyB5ZXRcbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICB9XG4gICAgICAgICAgQGlmIChzaG93Rm9ya2VkKCkpIHtcbiAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgIDxoMiBbbmdTdHlsZV09XCJ0ZXh0U3R5bGUoKVwiIGNsYXNzPVwibWF0LWhlYWRsaW5lXCI+Rm9ya2VkIFJlcG9zPC9oMj5cbiAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiZmxleC1hbGlnbi1zdGFydFwiXG4gICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwie1xuICAgICAgICAgICAgICAgICAgJ2ZsZXgtcm93LXdyYXAnOlxuICAgICAgICAgICAgICAgICAgICB2aWV3cG9ydCgpID09PSAnbWVkaXVtJyB8fCB2aWV3cG9ydCgpID09PSAnc21hbGwnLFxuICAgICAgICAgICAgICAgICAgJ2ZsZXgtY29sdW1uJzogdmlld3BvcnQoKSA9PT0gJ3hzbWFsbCdcbiAgICAgICAgICAgICAgICB9XCJcbiAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIEBpZiAobG9hZGluZygpID09PSB0cnVlKSB7XG4gICAgICAgICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICAgICAgICA8bWF0LXNwaW5uZXI+PC9tYXQtc3Bpbm5lcj5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBAZm9yIChcbiAgICAgICAgICAgICAgICAgIGdpdFJlcG8gb2YgZ2V0R2l0UmVwb3NpdG9yaWVzT2ZUeXBlKFxuICAgICAgICAgICAgICAgICAgICBnaXRSZXBvc2l0b3JpZXMsXG4gICAgICAgICAgICAgICAgICAgIGdpdFByb3ZpZGVyLmtleSxcbiAgICAgICAgICAgICAgICAgICAgJ2ZvcmtlZCdcbiAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICB0cmFjayBnaXRSZXBvXG4gICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICA8cmVwby1jYXJkXG4gICAgICAgICAgICAgICAgICAgIFtidXR0b25TdHlsZV09XCJidXR0b25TdHlsZSgpXCJcbiAgICAgICAgICAgICAgICAgICAgW2NhcmRTdHlsZV09XCJjYXJkU3R5bGUoKVwiXG4gICAgICAgICAgICAgICAgICAgIFt0ZXh0U3R5bGVdPVwidGV4dFN0eWxlKClcIlxuICAgICAgICAgICAgICAgICAgICBbY2hlY2tDb2xvcl09XCJjaGVja0NvbG9yKClcIlxuICAgICAgICAgICAgICAgICAgICBbZm9ya0NvbG9yXT1cImZvcmtDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW2lzc3VlQ29sb3JdPVwiaXNzdWVDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW3Bhc3RlQ29sb3JdPVwicGFzdGVDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW3N0YXJDb2xvcl09XCJzdGFyQ29sb3IoKVwiXG4gICAgICAgICAgICAgICAgICAgIFtnaXRSZXBvXT1cImdpdFJlcG9cIlxuICAgICAgICAgICAgICAgICAgICBbaXNDb3BpZWRdPVwiaXNDb3BpZWRUb0NsaXBib2FyZChnaXRSZXBvKVwiXG4gICAgICAgICAgICAgICAgICAgIChjb3BpZWRUb0NsaXBib2FyZCk9XCJjb3B5VG9DbGlwYm9hcmQoZ2l0UmVwbylcIlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInJlcG9zaXRvcnktY2FyZCBmbGV4LWFsaWduLXN0cmV0Y2hcIlxuICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7XG4gICAgICAgICAgICAgICAgICAgICAgJ2ZsZXgtZnhmbGV4Jzogdmlld3BvcnQoKSA9PT0gJ21lZGl1bScsXG4gICAgICAgICAgICAgICAgICAgICAgJ2ZsZXgtZnhmbGV4LWx0LW1kJzogdmlld3BvcnQoKSA9PT0gJ3NtYWxsJyxcbiAgICAgICAgICAgICAgICAgICAgICAnZmxleC1meGZsZXgtbHQtc20nOiB2aWV3cG9ydCgpID09PSAneHNtYWxsJ1xuICAgICAgICAgICAgICAgICAgICB9XCJcbiAgICAgICAgICAgICAgICAgID48L3JlcG8tY2FyZD5cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgQGlmIChcbiAgICAgICAgICAgICAgICAgIGxvYWRpbmcoKSA9PT0gZmFsc2UgJiZcbiAgICAgICAgICAgICAgICAgICFoYXNSZXBvc2l0b3JpZXNPZlR5cGUoXG4gICAgICAgICAgICAgICAgICAgIGdpdFJlcG9zaXRvcmllcyxcbiAgICAgICAgICAgICAgICAgICAgZ2l0UHJvdmlkZXIua2V5LFxuICAgICAgICAgICAgICAgICAgICAnZm9ya2VkJ1xuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgPGRpdiBbbmdTdHlsZV09XCJ0ZXh0U3R5bGUoKVwiPlxuICAgICAgICAgICAgICAgICAgICBUaGlzIHVzZXIgaGFzIG5vdCBmb3JrZWQgYW55IHJlcG9zaXRvcmllcyB5ZXRcbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgfVxuICAgIH1cbiAgPC9kaXY+XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVodzBsZi1naXQtcG9ydGZvbGlvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGlicy9naXQtcG9ydGZvbG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AC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAED,IAAE,CAAC,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AACjpQ;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,UAAU,EAAE,CAAC;AAC/H,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,OAAO,EAAE;AACzD,wBAAwB,YAAY;AACpC,wBAAwB,YAAY;AACpC,wBAAwB,OAAO;AAC/B,wBAAwB,wBAAwB;AAChD,wBAAwB,iBAAiB;AACzC,wBAAwB;AACxB,qBAAqB,EAAE,eAAe,EAAE,uBAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,q3JAAq3J,EAAE,MAAM,EAAE,CAAC,2vBAA2vB,CAAC,EAAE;AAChtL,SAAS,CAAC,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,CAAC;;AC5GvC;AACA;AACA;;;;"}
1
+ {"version":3,"file":"tehw0lf-git-portfolio.mjs","sources":["../../../../libs/git-portfolio/src/lib/git-provider.service.ts","../../../../libs/git-portfolio/src/lib/octicon.directive.ts","../../../../libs/git-portfolio/src/lib/repo-card/repo-card.component.ts","../../../../libs/git-portfolio/src/lib/repo-card/repo-card.component.html","../../../../libs/git-portfolio/src/lib/types/git-providers-type.ts","../../../../libs/git-portfolio/src/lib/git-portfolio.component.ts","../../../../libs/git-portfolio/src/lib/git-portfolio.component.html","../../../../libs/git-portfolio/src/tehw0lf-git-portfolio.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable, inject } from '@angular/core';\nimport { BehaviorSubject, Observable, of, zip } from 'rxjs';\nimport { map, tap, shareReplay } from 'rxjs/operators';\n\nimport { GitProviderConfig } from './types/git-provider-config-type';\nimport { GitRepositories } from './types/git-repositories-type';\nimport { GitRepository } from './types/git-repository-type';\n\ninterface CacheEntry {\n data: Observable<GitRepositories>;\n timestamp: number;\n ttl: number;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class GitProviderService {\n private http = inject(HttpClient);\n private readonly CACHE_TTL = 10 * 60 * 1000; // 10 minutes\n private readonly MAX_CACHE_SIZE = 50;\n\n private loadingStateSubject = new BehaviorSubject<boolean>(true);\n private repositorySubject = new BehaviorSubject<GitRepositories>({});\n private repositoryCache = new Map<string, CacheEntry>();\n\n get loading(): Observable<boolean> {\n return this.loadingStateSubject.asObservable();\n }\n\n getRepositories(\n gitProviderUserNames?: GitProviderConfig\n ): Observable<GitRepositories> {\n const cacheKey = this.createCacheKey(gitProviderUserNames);\n const cachedEntry = this.repositoryCache.get(cacheKey);\n \n // Check if cache entry exists and is still valid\n if (cachedEntry && this.isCacheValid(cachedEntry)) {\n return cachedEntry.data;\n }\n \n // Clean up expired entries and manage cache size\n this.cleanupCache();\n \n const repositories$ = this.fetchRepositories(gitProviderUserNames).pipe(\n tap((repositories: GitRepositories) => {\n this.repositorySubject.next(repositories);\n this.loadingStateSubject.next(false);\n }),\n shareReplay(1)\n );\n \n this.repositoryCache.set(cacheKey, {\n data: repositories$,\n timestamp: Date.now(),\n ttl: this.CACHE_TTL\n });\n \n return repositories$;\n }\n\n private createCacheKey(config?: GitProviderConfig): string {\n if (!config) return 'default';\n const parts: string[] = [];\n if (config.github) parts.push(`gh:${config.github}`);\n if (config.gitlab) parts.push(`gl:${config.gitlab}`);\n return parts.join('|') || 'default';\n }\n\n private isCacheValid(entry: CacheEntry): boolean {\n return (Date.now() - entry.timestamp) < entry.ttl;\n }\n\n private cleanupCache(): void {\n // Remove expired entries\n for (const [key, entry] of this.repositoryCache.entries()) {\n if (!this.isCacheValid(entry)) {\n this.repositoryCache.delete(key);\n }\n }\n \n // If cache is still too large, remove oldest entries\n if (this.repositoryCache.size >= this.MAX_CACHE_SIZE) {\n const entries = Array.from(this.repositoryCache.entries())\n .sort(([, a], [, b]) => a.timestamp - b.timestamp);\n \n const toRemove = entries.slice(0, entries.length - this.MAX_CACHE_SIZE + 1);\n toRemove.forEach(([key]) => this.repositoryCache.delete(key));\n }\n }\n\n fetchRepositories(\n gitProviderUserNames?: GitProviderConfig\n ): Observable<GitRepositories> {\n return zip(\n this.fetchGithubRepositories(gitProviderUserNames?.github ?? ''),\n this.fetchGitlabRepositories(gitProviderUserNames?.gitlab ?? '')\n ).pipe(\n map((gitRepositoryMap: GitRepository[][]) => {\n const repositories: GitRepositories = {\n github: this.filterAndSortGitRepositories(gitRepositoryMap[0]),\n gitlab: this.filterAndSortGitRepositories(gitRepositoryMap[1])\n };\n return repositories;\n })\n );\n }\n\n private filterAndSortGitRepositories(gitRepositoryArray: GitRepository[]): {\n own: GitRepository[];\n forked: GitRepository[];\n } {\n return {\n own: gitRepositoryArray\n .filter((gitRepository: GitRepository) => !gitRepository.fork)\n .sort(\n (repoA: GitRepository, repoB: GitRepository) =>\n (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0)\n ),\n forked: gitRepositoryArray\n .filter((gitRepository: GitRepository) => gitRepository.fork)\n .sort(\n (repoA: GitRepository, repoB: GitRepository) =>\n (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0)\n )\n };\n }\n\n private fetchGithubRepositories(\n githubUser: string\n ): Observable<GitRepository[]> {\n if (githubUser !== '') {\n return this.http.get<GitRepository[]>(\n `https://api.github.com/users/${githubUser}/repos`\n ).pipe(shareReplay(1));\n }\n return of([]);\n }\n\n private fetchGitlabRepositories(\n gitlabUser: string\n ): Observable<GitRepository[]> {\n if (gitlabUser !== '') {\n return this.http.get<GitRepository[]>(\n `https://gitlab.com/api/v4/users/${gitlabUser}/projects`\n ).pipe(shareReplay(1));\n }\n return of([]);\n }\n\n clearCache(): void {\n this.repositoryCache.clear();\n this.loadingStateSubject.next(true);\n this.repositorySubject.next({});\n }\n}\n","import {\n Directive,\n ElementRef,\n input,\n OnInit,\n Renderer2,\n inject\n} from '@angular/core';\nimport octicons, { IconName } from '@primer/octicons';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: '[octicon]',\n standalone: true\n})\nexport class OcticonDirective implements OnInit {\n private elementRef = inject(ElementRef);\n private renderer = inject(Renderer2);\n\n octicon = input.required<string>();\n color = input.required<string>();\n width = input<string>();\n\n ngOnInit(): void {\n const el: HTMLElement = this.elementRef.nativeElement;\n if (this.octicon()) {\n const iconName = this.octicon() as IconName;\n if (octicons[iconName] !== undefined) {\n const icon = this.insertSvgSafely(el, octicons[iconName].toSVG());\n\n if (this.color() && icon) {\n this.renderer.setStyle(icon, 'fill', this.color());\n }\n if (this.width() && icon) {\n this.renderer.setStyle(icon, 'width', this.width());\n this.renderer.setStyle(icon, 'height', this.width());\n }\n } else {\n const alertIcon = this.insertSvgSafely(el, octicons['alert'].toSVG());\n if (alertIcon) {\n this.renderer.setStyle(alertIcon, 'fill', 'red');\n }\n }\n }\n }\n\n private insertSvgSafely(\n element: HTMLElement,\n svgString: string\n ): Node | null {\n // Use document.createRange().createContextualFragment() which works better\n // in both browser and JSDOM environments compared to DOMParser\n const range = document.createRange();\n range.selectNode(element);\n const fragment = range.createContextualFragment(svgString);\n\n // Clear existing content\n while (element.firstChild) {\n this.renderer.removeChild(element, element.firstChild);\n }\n\n // Append the safely parsed SVG element\n const svgElement = fragment.firstChild;\n if (svgElement) {\n this.renderer.appendChild(element, svgElement);\n }\n\n // Return the inserted SVG element\n return svgElement;\n }\n}\n","import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { DatePipe, NgStyle } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, output } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport * as githubLanguageColors from 'github-language-colors/colors.json';\n\nimport { OcticonDirective } from '../octicon.directive';\nimport { GitRepository } from '../types/git-repository-type';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\ninterface Dictionary {\n [id: string]: string;\n}\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'repo-card',\n templateUrl: './repo-card.component.html',\n styleUrls: ['./repo-card.component.scss'],\n imports: [\n MatCardModule,\n NgStyle,\n MatButtonModule,\n OcticonDirective,\n ClipboardModule,\n DatePipe\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class RepoCardComponent {\n buttonStyle = input.required<any>();\n cardStyle = input.required<any>();\n textStyle = input.required<any>();\n checkColor = input.required<string>();\n forkColor = input.required<string>();\n issueColor = input.required<string>();\n pasteColor = input.required<string>();\n starColor = input.required<string>();\n\n gitRepo = input.required<GitRepository>();\n\n isCopied = input(false);\n\n copiedToClipboard = output<boolean>();\n\n githubLanguageColors = githubLanguageColors as Dictionary;\n}\n","<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n","export enum GitProviders {\n github = 'GitHub',\n gitlab = 'GitLab'\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n LayoutModule\n} from '@angular/cdk/layout';\nimport { CommonModule, KeyValuePipe, NgStyle } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n input,\n inject,\n signal,\n effect,\n OnDestroy\n} from '@angular/core';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { takeUntil, tap } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\nimport { GitProviderService } from './git-provider.service';\nimport { RepoCardComponent } from './repo-card/repo-card.component';\nimport { GitProviderConfig } from './types/git-provider-config-type';\nimport { GitProviders } from './types/git-providers-type';\nimport { GitRepositories } from './types/git-repositories-type';\nimport { GitRepository } from './types/git-repository-type';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'git-portfolio',\n templateUrl: './git-portfolio.component.html',\n styleUrls: ['./git-portfolio.component.scss'],\n imports: [\n CommonModule,\n LayoutModule,\n NgStyle,\n MatProgressSpinnerModule,\n RepoCardComponent,\n KeyValuePipe\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GitPortfolioComponent implements OnDestroy {\n private gitProviderService = inject(GitProviderService);\n private breakpointObserver = inject(BreakpointObserver);\n\n buttonStyle = input({ 'background-color': '#424242', color: '#cc7832' });\n\n cardStyle = input({\n color: '#437da8',\n 'background-color': 'rgba(34, 34, 34, 0.75)',\n 'backdrop-filter': 'blur(50px)'\n });\n\n textStyle = input({ color: '#437da8' });\n\n checkColor = input('#38e038');\n\n forkColor = input('#437da8');\n\n issueColor = input('rgb(56, 224, 56)');\n\n pasteColor = input('#cc7832');\n\n starColor = input('gold');\n\n gitProviderConfig = input<GitProviderConfig>({});\n\n showForked = input(true);\n\n showOwn = input(true);\n\n loading = toSignal(this.gitProviderService.loading, { initialValue: true });\n gitProviders = GitProviders;\n currentRepo = signal<GitRepository | undefined>(undefined);\n gitRepositories = signal<GitRepositories | undefined>(undefined);\n viewport = signal('');\n\n private unsubscribe$ = new Subject<void>();\n\n constructor() {\n effect(() => {\n this.getRepositories();\n });\n\n this.breakpointObserver\n .observe([\n '(max-width: 599.98px)',\n '(max-width: 959.98px)',\n '(min-width: 960px)'\n ])\n .pipe(\n tap((breakpointState: BreakpointState) => {\n if (breakpointState.breakpoints['(max-width: 599.98px)']) {\n this.viewport.set('xsmall');\n } else if (breakpointState.breakpoints['(max-width: 959.98px)']) {\n this.viewport.set('small');\n } else {\n this.viewport.set('medium');\n }\n }),\n takeUntil(this.unsubscribe$)\n )\n .subscribe();\n }\n\n ngOnDestroy(): void {\n this.unsubscribe$.next();\n this.unsubscribe$.complete();\n }\n\n copyToClipboard(gitRepo: GitRepository): void {\n this.currentRepo.set(gitRepo);\n }\n\n isCopiedToClipboard(gitRepo: GitRepository): boolean {\n if (!this.currentRepo()) {\n return false;\n }\n return this.currentRepo()?.id === gitRepo.id ? true : false;\n }\n\n getRepositories(): void {\n this.gitProviderService\n .getRepositories(this.gitProviderConfig())\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe((repositories) => {\n this.gitRepositories.set(repositories);\n });\n }\n\n getGitRepositoriesOfType(\n gitRepositories: GitRepositories | undefined,\n gitProvider: string,\n type: 'own' | 'forked'\n ): GitRepository[] {\n return gitRepositories?.[gitProvider]?.[type] ?? [];\n }\n\n hasAnyRepositories(\n gitRepositories: GitRepositories | undefined,\n gitProvider: string\n ): boolean {\n return (\n (gitRepositories?.[gitProvider] &&\n (gitRepositories[gitProvider].own?.length > 0 ||\n gitRepositories[gitProvider].forked?.length > 0)) ??\n false\n );\n }\n\n hasRepositoriesOfType(\n gitRepositories: GitRepositories | undefined,\n gitProvider: string,\n type: 'own' | 'forked'\n ): boolean {\n return (\n (gitRepositories?.[gitProvider] &&\n gitRepositories[gitProvider]?.[type]?.length > 0) ??\n false\n );\n }\n}\n","@if (gitRepositories(); as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport() === 'medium' || viewport() === 'small',\n 'flex-column': viewport() === 'xsmall'\n }\"\n >\n @if (loading() === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport() === 'medium',\n 'flex-fxflex-lt-md': viewport() === 'small',\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n loading() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport() === 'medium' || viewport() === 'small',\n 'flex-column': viewport() === 'xsmall'\n }\"\n >\n @if (loading() === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport() === 'medium',\n 'flex-fxflex-lt-md': viewport() === 'small',\n 'flex-fxflex-lt-sm': viewport() === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n loading() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;MAkBa,kBAAkB,CAAA;AAH/B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;QAChB,IAAA,CAAA,SAAS,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAC3B,IAAA,CAAA,cAAc,GAAG,EAAE;AAE5B,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,eAAe,CAAU,IAAI,CAAC;AACxD,QAAA,IAAA,CAAA,iBAAiB,GAAG,IAAI,eAAe,CAAkB,EAAE,CAAC;AAC5D,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,GAAG,EAAsB;AAmIxD,IAAA;AAjIC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,mBAAmB,CAAC,YAAY,EAAE;IAChD;AAEA,IAAA,eAAe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Z,YAAY;wBACZ,OAAO;wBACP,wBAAwB;wBACxB,iBAAiB;wBACjB;qBACD,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,q3JAAA,EAAA,MAAA,EAAA,CAAA,2vBAAA,CAAA,EAAA;;;AExCjD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tehw0lf/git-portfolio",
3
- "version": "0.20.8",
3
+ "version": "0.21.1",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/tehw0lf/tehwol.fi.git",
6
6
  "repository": {
@@ -8,26 +8,26 @@
8
8
  "url": "git+https://github.com/tehw0lf/tehwol.fi.git"
9
9
  },
10
10
  "peerDependencies": {
11
- "@angular/animations": "20.3.3",
12
- "@angular/cdk": "20.2.7",
13
- "@angular/common": "20.3.3",
14
- "@angular/core": "20.3.3",
15
- "@angular/material": "20.2.7",
16
- "@primer/octicons": "19.18.0",
17
- "@tehw0lf/mvc": "0.0.7",
11
+ "@angular/animations": "21.0.6",
12
+ "@angular/cdk": "21.0.5",
13
+ "@angular/common": "21.0.6",
14
+ "@angular/core": "21.0.6",
15
+ "@angular/material": "21.0.5",
16
+ "@primer/octicons": "19.21.1",
17
+ "@tehw0lf/mvc": "0.0.8",
18
18
  "github-language-colors": "1.0.0"
19
19
  },
20
20
  "dependencies": {
21
21
  "tslib": "2.8.1"
22
22
  },
23
23
  "module": "fesm2022/tehw0lf-git-portfolio.mjs",
24
- "typings": "index.d.ts",
24
+ "typings": "types/tehw0lf-git-portfolio.d.ts",
25
25
  "exports": {
26
26
  "./package.json": {
27
27
  "default": "./package.json"
28
28
  },
29
29
  ".": {
30
- "types": "./index.d.ts",
30
+ "types": "./types/tehw0lf-git-portfolio.d.ts",
31
31
  "default": "./fesm2022/tehw0lf-git-portfolio.mjs"
32
32
  }
33
33
  },
@@ -105,6 +105,7 @@ declare class OcticonDirective implements OnInit {
105
105
  color: _angular_core.InputSignal<string>;
106
106
  width: _angular_core.InputSignal<string | undefined>;
107
107
  ngOnInit(): void;
108
+ private insertSvgSafely;
108
109
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<OcticonDirective, never>;
109
110
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OcticonDirective, "[octicon]", never, { "octicon": { "alias": "octicon"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": true; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
110
111
  }