@if (plugin(); as plugin) {

{{ plugin.displayName | i18n }}

@if (plugin.version) { v{{ plugin.version }} } @if (plugin.sourceName) { @if (plugin.sourceNameI18nKey) { {{ plugin.sourceNameI18nKey | translate: { Default: plugin.sourceName } }} } @else { {{ plugin.sourceName }} } }

{{ plugin.description | i18n }}

@if (trialCardBackgroundImage(); as backgroundImage) {
@if (trialShortcuts().length) {
@for (shortcut of trialShortcuts(); track shortcut.id) { }
}
}

{{ 'PAC.Plugin.IncludedContent' | translate: { Default: 'Included content' } }}

{{ contents().length }}
@if (contents().length) {
@for (content of contents(); track content.type + ':' + content.name) {
{{ content.displayName || content.name | i18n }} {{ 'PAC.Plugin.MarketplaceContentType_' + content.type | translate: { Default: content.type } }} @if (content.description) { {{ content.description | i18n }} } @if (resourceContribution(content); as resource) { @if (resource.type === 'skill') { } @else { } } @else if (isAssistantTemplate(content)) { }
}
} @else {
{{ 'PAC.Plugin.NoExecutableContent' | translate: { Default: 'No assistant templates or installable resources were declared.' } }}
}
@if (appContents().length) {

{{ 'PAC.Plugin.Applications' | translate: { Default: 'Applications' } }}

{{ appContents().length }}
@for (app of appContents(); track app.type + ':' + app.name) {
{{ app.displayName || app.name | i18n }} {{ 'PAC.Plugin.MarketplaceContentType_app' | translate: { Default: 'App' } }} @if (appCapabilities(app).length) { {{ 'PAC.Plugin.CapabilityCount' | translate : { Default: appCapabilities(app).length + ' capabilities', count: appCapabilities(app).length } }} } @if (app.description) { {{ app.description | i18n }} } @if (appSetupAction(app); as action) { }
}
} @if (selectedApp(); as app) {

{{ app.displayName || app.name | i18n }}

{{ 'PAC.Plugin.AppUsage' | translate: { Default: 'Usage' } }}

{{ 'PAC.Plugin.CapabilityCount' | translate : { Default: appCapabilities(app).length + ' capabilities', count: appCapabilities(app).length } }}
@if (app.description) {

{{ app.description | i18n }}

} @if (appSetupAction(app); as action) { @if (action.type === 'details') {
{{ 'PAC.Plugin.RuntimeAppNoInstallRequired' | translate : { Default: 'This app is provided by plugin runtime capabilities and does not need a separate app installation.' } }}
} } @if (appTemplates(app).length > 1) {

{{ 'PAC.Plugin.AssistantTemplates' | translate: { Default: 'Assistant templates' } }}

@for (template of appTemplates(app); track template.type + ':' + template.name) {
{{ template.displayName || template.name | i18n }} {{ 'PAC.Plugin.MarketplaceContentType_' + template.type | translate: { Default: template.type } }}
@if (template.description) {

{{ template.description | i18n }}

}
}
} @if (appCapabilities(app); as capabilities) { @if (capabilities.length) {

{{ 'PAC.Plugin.AppCapabilities' | translate: { Default: 'Included capabilities' } }}

@for (capability of capabilities; track capability.type + ':' + capability.name) {
{{ capability.displayName || capability.name | i18n }} {{ 'PAC.Plugin.MarketplaceContentType_' + capability.type | translate: { Default: capability.type } }}
@if (capability.description) {

{{ capability.description | i18n }}

}
}
} @else {
{{ 'PAC.Plugin.NoAppCapabilities' | translate: { Default: 'No app capabilities were declared.' } }}
} }
}
}