1 (window
.webpackJsonp
=window
.webpackJsonp
||[]).push([[6],{OcYo:function(l
,n
,u
){"use strict";u
.d(n
,"a",(function(){return e
}));class e
{constructor(l
,n
,u
){this.elementRef
=l
,this.renderer
=n
,this.toastr
=u
}ngOnInit(){const l
=this.renderer
.createElement("i");this.renderer
.addClass(l
,"fa"),this.renderer
.addClass(l
,"fa-clipboard"),this.renderer
.appendChild(this.elementRef
.nativeElement
,l
)}getInputElement(){return document
.getElementById(this.cdCopy2ClipboardButton
)}onClick(){try{const l
=document
.createElement("input");l
.value
=this.getInputElement().value
,document
.body
.appendChild(l
),l
.select(),document
.execCommand("copy"),document
.body
.removeChild(l
),this.toastr
.success("Copied text to the clipboard successfully.")}catch(l
){this.toastr
.error("Failed to copy text to the clipboard.")}}}},Znkk:function(l
,n
,u
){"use strict";u
.r(n
);var e
=u("8Y7J"),t
=u("sne2"),i
=u("Avrn"),a
=u("+0ag"),o
=u("mSOc");class s
{constructor(l
,n
,u
){this.route
=l
,this.summaryService
=n
,this.cephReleaseNamePipe
=u
,this.message
="The Object Gateway service is not configured."}ngOnInit(){const l
=this.summaryService
.subscribe(n
=>{if(!n
)return;const u
=this.cephReleaseNamePipe
.transform(n
.version
);this.docsUrl
=`http://docs.ceph.com/docs/${u}/mgr/dashboard/`+"#enabling-the-object-gateway-management-frontend",setTimeout(()=>{l
.unsubscribe()},0)});this.routeParamsSubscribe
=this.route
.params
.subscribe(l
=>{this.message
=l
.message
})}ngOnDestroy(){this.routeParamsSubscribe
.unsubscribe()}}var d
=u("s7LF"),r
=u("LvDl"),c
=u("mrSG"),m
=u("IheW"),g
=u("cp0P"),p
=u("LRne"),f
=u("5+tZ"),v
=u("xTzq"),b
=u("pL04");let h
=(()=>{let l
=class{constructor(l
){this.http
=l
,this.url
="api/rgw/bucket"}list(){return this.enumerate().pipe(Object(f
.a
)(l
=>l
.length
>0?Object(g
.a
)(l
.map(l
=>this.get(l
))):Object(p
.a
)([])))}enumerate(){return this.http
.get(this.url
)}get(l
){return this.http
.get(`${this.url}/${l}`)}create(l
,n
,u
,e
,t
,i
,a
,o
){return this.http
.post(this.url
,null,{params
:new m
.h({fromObject
:{bucket
:l
,uid
:n
,zonegroup
:u
,placement_target
:e
,lock_enabled
:String(t
),lock_mode
:i
,lock_retention_period_days
:a
,lock_retention_period_years
:o
}})})}update(l
,n
,u
,e
,t
,i
,a
,o
,s
,d
){let r
=new m
.h
;return r
=r
.append("bucket_id",n
),r
=r
.append("uid",u
),r
=r
.append("versioning_state",e
),r
=r
.append("mfa_delete",t
),r
=r
.append("mfa_token_serial",i
),r
=r
.append("mfa_token_pin",a
),r
=r
.append("lock_mode",o
),r
=r
.append("lock_retention_period_days",s
),r
=r
.append("lock_retention_period_years",d
),this.http
.put(`${this.url}/${l}`,null,{params
:r
})}delete(l
,n
=!0){let u
=new m
.h
;return u
=u
.append("purge_objects",n
?"true":"false"),this.http
.delete(`${this.url}/${l}`,{params
:u
})}exists(l
){return this.enumerate().pipe(Object(f
.a
)(n
=>{const u
=r
.indexOf(n
,l
);return Object(p
.a
)(-1!==u
)}))}};return l
.ngInjectableDef
=e
["ɵɵdefineInjectable"]({factory:function(){return new l(e
["ɵɵinject"](m
.c
))},token
:l
,providedIn
:b
.a
}),l
=c
.__decorate([v
.a
,c
.__metadata("design:paramtypes",[m
.c
])],l
),l
})(),C
=(()=>{let l
=class{constructor(l
){this.http
=l
,this.url
="api/rgw/site"}getPlacementTargets(){let l
=new m
.h
;return l
=l
.append("query","placement-targets"),this.http
.get(this.url
,{params
:l
})}};return l
.ngInjectableDef
=e
["ɵɵdefineInjectable"]({factory:function(){return new l(e
["ɵɵinject"](m
.c
))},token
:l
,providedIn
:b
.a
}),l
=c
.__decorate([v
.a
,c
.__metadata("design:paramtypes",[m
.c
])],l
),l
})();var _
=u("P8lu"),k
=u("oxzT"),y
=u("mtw6"),R
=u("2EZI"),I
=u("1Ni5"),w
=u("9nlD"),E=function(l
){return l
.ENABLED
="Enabled",l
.DISABLED
="Disabled",l
}({}),N=function(l
){return l
.ENABLED
="Enabled",l
.SUSPENDED
="Suspended",l
}({});class q
{constructor(l
,n
,u
,e
,i
,a
,o
,s
,d
){this.route
=l
,this.router
=n
,this.formBuilder
=u
,this.rgwBucketService
=e
,this.rgwSiteService
=i
,this.rgwUserService
=a
,this.notificationService
=o
,this.i18n
=s
,this.actionLabels
=d
,this.editing
=!1,this.error
=!1,this.loading
=!1,this.owners
=null,this.placementTargets
=[],this.isVersioningEnabled
=!1,this.isVersioningAlreadyEnabled
=!1,this.isMfaDeleteEnabled
=!1,this.isMfaDeleteAlreadyEnabled
=!1,this.icons
=k
.a
,this.editing
=this.router
.url
.startsWith(`/rgw/bucket/${t.e.EDIT}`),this.action
=this.editing
?this.actionLabels
.EDIT
:this.actionLabels
.CREATE
,this.resource
=this.i18n("bucket"),this.createForm()}createForm(){const l
=this,n
=I
.a
.custom("eitherDaysOrYears",()=>{if(!l
.bucketForm
||!r
.get(l
.bucketForm
.getRawValue(),"lock_enabled"))return!1;const n
=l
.bucketForm
.getValue("lock_retention_period_years"),u
=l
.bucketForm
.getValue("lock_retention_period_days");return u
>0&&n
>0||0===u
&&0===n
}),u
=[0,[I
.a
.number(!1),n
]];this.bucketForm
=this.formBuilder
.group({id
:[null],bid
:[null,[d
.B
.required
],this.editing
?[]:[this.bucketNameValidator()]],owner
:[null,[d
.B
.required
]],"placement-target":[null,this.editing
?[]:[d
.B
.required
]],versioning
:[null],"mfa-delete":[null],"mfa-token-serial":[""],"mfa-token-pin":[""],lock_enabled
:[{value
:!1,disabled
:this.editing
}],lock_mode
:["COMPLIANCE"],lock_retention_period_days
:u
,lock_retention_period_years
:u
})}ngOnInit(){this.rgwUserService
.enumerate().subscribe(l
=>{this.owners
=l
.sort()}),this.editing
||this.rgwSiteService
.getPlacementTargets().subscribe(l
=>{this.zonegroup
=l
.zonegroup
,r
.forEach(l
.placement_targets
,l
=>{l
.description
=`${l.name} (${this.i18n("pool")}: ${l.data_pool})`,this.placementTargets
.push(l
)}),1===this.placementTargets
.length
&&this.bucketForm
.get("placement-target").setValue(this.placementTargets
[0].name
)}),this.route
.params
.subscribe(l
=>{if(!l
.hasOwnProperty("bid"))return;const n
=decodeURIComponent(l
.bid
);this.loading
=!0,this.rgwBucketService
.get(n
).subscribe(l
=>{this.loading
=!1;const n
=r
.clone(this.bucketForm
.getRawValue());let u
=r
.pick(l
,r
.keys(n
));u
["placement-target"]=l
.placement_rule
,u
=r
.merge(n
,u
),this.bucketForm
.setValue(u
),this.editing
&&(this.setVersioningStatus(l
.versioning
),this.isVersioningAlreadyEnabled
=this.isVersioningEnabled
,this.setMfaDeleteStatus(l
.mfa_delete
),this.isMfaDeleteAlreadyEnabled
=this.isMfaDeleteEnabled
,this.setMfaDeleteValidators())})})}goToListView(){this.router
.navigate(["/rgw/bucket"])}submit(){if(this.bucketForm
.pristine
)return void this.goToListView();const l
=this.bucketForm
.value
;if(this.editing
){const n
=this.getVersioningStatus(),u
=this.getMfaDeleteStatus();this.rgwBucketService
.update(l
.bid
,l
.id
,l
.owner
,n
,u
,l
["mfa-token-serial"],l
["mfa-token-pin"],l
.lock_mode
,l
.lock_retention_period_days
,l
.lock_retention_period_years
).subscribe(()=>{this.notificationService
.show(y
.a
.success
,this.i18n('Updated Object Gateway bucket "{{bid}}".',l
)),this.goToListView()},()=>{this.bucketForm
.setErrors({cdSubmitButton
:!0})})}else this.rgwBucketService
.create(l
.bid
,l
.owner
,this.zonegroup
,l
["placement-target"],l
.lock_enabled
,l
.lock_mode
,l
.lock_retention_period_days
,l
.lock_retention_period_years
).subscribe(()=>{this.notificationService
.show(y
.a
.success
,this.i18n('Created Object Gateway bucket "{{bid}}"',l
)),this.goToListView()},()=>{this.bucketForm
.setErrors({cdSubmitButton
:!0})})}bucketNameValidator(){const l
=this.rgwBucketService
;return n
=>new Promise(u
=>{if(n
.pristine
||""===n
.value
)return void u(null);const e
=[];e
.push(l
=>!I
.a
.ip()(l
)),e
.push(l
=>r
.inRange(l
.length
,3,64)),e
.push(l
=>{const n
=r
.split(l
,".");return r
.every(n
,l
=>l
===r
.toLower(l
)&&!l
.includes("_")&&!!/[0-9a-z-]/.test(l
)&&r
.every([0,l
.length
],n
=>/[a-z]/.test(l
[n
])||r
.isInteger(r
.parseInt(l
[n
]))))}),r
.every(e
,l
=>l(n
.value
))?l
.exists(n
.value
).subscribe(l
=>{u(l
?{bucketNameExists
:!0}:null)}):u({bucketNameInvalid
:!0})})}areMfaCredentialsRequired(){return this.isMfaDeleteEnabled
!==this.isMfaDeleteAlreadyEnabled
||this.isMfaDeleteAlreadyEnabled
&&this.isVersioningEnabled
!==this.isVersioningAlreadyEnabled
}setMfaDeleteValidators(){const l
=this.bucketForm
.get("mfa-token-serial"),n
=this.bucketForm
.get("mfa-token-pin");this.areMfaCredentialsRequired()?(l
.setValidators(d
.B
.required
),n
.setValidators(d
.B
.required
)):(l
.setValidators(null),n
.setValidators(null)),l
.updateValueAndValidity(),n
.updateValueAndValidity()}getVersioningStatus(){return this.isVersioningEnabled
?N
.ENABLED
:N
.SUSPENDED
}setVersioningStatus(l
){this.isVersioningEnabled
=l
===N
.ENABLED
}updateVersioning(){this.isVersioningEnabled
=!this.isVersioningEnabled
,this.setMfaDeleteValidators()}getMfaDeleteStatus(){return this.isMfaDeleteEnabled
?E
.ENABLED
:E
.DISABLED
}setMfaDeleteStatus(l
){this.isMfaDeleteEnabled
=l
===E
.ENABLED
}updateMfaDelete(){this.isMfaDeleteEnabled
=!this.isMfaDeleteEnabled
,this.setMfaDeleteValidators()}}var T
=u("HDdC"),V
=u("0+/T"),S
=u("uIqm"),x
=u("vCyI"),D
=u("aexS"),F
=u("EgGo");const j
=new F
.a("rgw/bucket");class B
{constructor(l
,n
,u
,e
,t
,i
,a
){this.authStorageService
=l
,this.rgwBucketService
=n
,this.bsModalService
=u
,this.i18n
=e
,this.urlBuilder
=t
,this.actionLabels
=i
,this.ngZone
=a
,this.columns
=[],this.buckets
=[],this.selection
=new x
.a
,this.isStale
=!1,this.permission
=this.authStorageService
.getPermissions().rgw
,this.columns
=[{name
:this.i18n("Name"),prop
:"bid",flexGrow
:1},{name
:this.i18n("Owner"),prop
:"owner",flexGrow
:1}];const o
=()=>this.selection
.first()&&`${encodeURIComponent(this.selection.first().bid)}`;this.tableActions
=[{permission
:"create",icon
:k
.a
.add
,routerLink
:()=>this.urlBuilder
.getCreate(),name
:this.actionLabels
.CREATE
,canBePrimary
:l
=>!l
.hasSelection
},{permission
:"update",icon
:k
.a
.edit
,routerLink
:()=>this.urlBuilder
.getEdit(o()),name
:this.actionLabels
.EDIT
},{permission
:"delete",icon
:k
.a
.destroy
,click
:()=>this.deleteAction(),disable
:()=>!this.selection
.hasSelection
,name
:this.actionLabels
.DELETE
,canBePrimary
:l
=>l
.hasMultiSelection
}],this.timeConditionReached()}timeConditionReached(){clearTimeout(this.staleTimeout
),this.ngZone
.runOutsideAngular(()=>{this.staleTimeout
=window
.setTimeout(()=>{this.ngZone
.run(()=>{this.isStale
=!0})},1e4
)})}getBucketList(l
){this.isStale
=!1,this.timeConditionReached(),this.rgwBucketService
.list().subscribe(l
=>{this.buckets
=l
},()=>{l
.error()})}updateSelection(l
){this.selection
=l
}deleteAction(){this.bsModalService
.show(V
.a
,{initialState
:{itemDescription
:this.i18n(this.selection
.hasSingleSelection
?"bucket":"buckets"),itemNames
:this.selection
.selected
.map(l
=>l
.bid
),submitActionObservable
:()=>new T
.a(l
=>{Object(g
.a
)(this.selection
.selected
.map(l
=>this.rgwBucketService
.delete(l
.bid
))).subscribe(null,n
=>{l
.error(n
),this.table
.refreshBtn()},()=>{l
.complete(),this.table
.refreshBtn()})})}})}}let A
=(()=>{let l
=class{constructor(l
){this.http
=l
,this.url
="api/rgw/daemon"}list(){return this.http
.get(this.url
)}get(l
){return this.http
.get(`${this.url}/${l}`)}};return l
.ngInjectableDef
=e
["ɵɵdefineInjectable"]({factory:function(){return new l(e
["ɵɵinject"](m
.c
))},token
:l
,providedIn
:b
.a
}),l
=c
.__decorate([v
.a
,c
.__metadata("design:paramtypes",[m
.c
])],l
),l
})();var P
=u("85J/");class M
{constructor(l
,n
,u
,e
){this.rgwDaemonService
=l
,this.authStorageService
=n
,this.i18n
=e
,this.columns
=[],this.daemons
=[],this.selection
=new x
.a
,this.grafanaPermission
=this.authStorageService
.getPermissions().grafana
,this.columns
=[{name
:this.i18n("ID"),prop
:"id",flexGrow
:2},{name
:this.i18n("Hostname"),prop
:"server_hostname",flexGrow
:2},{name
:this.i18n("Version"),prop
:"version",flexGrow
:1,pipe
:u
}]}getDaemonList(l
){this.rgwDaemonService
.list().subscribe(l
=>{this.daemons
=l
},()=>{l
.error()})}updateSelection(l
){this.selection
=l
}}var O
=u("GyhO"),U
=u("aXbf"),L=function(l
){return l
.USERS
="users",l
.BUCKETS
="buckets",l
.METADATA
="metadata",l
.USAGE
="usage",l
.ZONE
="zone",l
}({});let z
=(()=>{class l
{static getAll(){return Object
.values(l
.capabilities
)}}return l
.capabilities
=L
,l
})();class G
{constructor(l
,n
,u
,t
){this.formBuilder
=l
,this.bsModalRef
=n
,this.i18n
=u
,this.actionLabels
=t
,this.submitAction
=new e
.EventEmitter
,this.editing
=!0,this.types
=[],this.resource
=this.i18n("capability"),this.createForm()}createForm(){this.formGroup
=this.formBuilder
.group({type
:[null,[d
.B
.required
]],perm
:[null,[d
.B
.required
]]})}setEditing(l
=!0){this.editing
=l
,this.action
=this.editing
?this.actionLabels
.EDIT
:this.actionLabels
.ADD
}setValues(l
,n
){this.formGroup
.setValue({type
:l
,perm
:n
})}setCapabilities(l
){const n
=[];l
.forEach(l
=>{n
.push(l
.type
)}),this.types
=[],z
.getAll().forEach(l
=>{-1===r
.indexOf(n
,l
)&&this.types
.push(l
)})}onSubmit(){this.submitAction
.emit(this.formGroup
.value
),this.bsModalRef
.hide()}}class K
{constructor(l
,n
,u
,t
){this.formBuilder
=l
,this.bsModalRef
=n
,this.i18n
=u
,this.actionLabels
=t
,this.submitAction
=new e
.EventEmitter
,this.viewing
=!0,this.userCandidates
=[],this.resource
=this.i18n("S3 Key"),this.createForm()}createForm(){this.formGroup
=this.formBuilder
.group({user
:[null,[d
.B
.required
]],generate_key
:[!0],access_key
:[null,[I
.a
.requiredIf({generate_key
:!1})]],secret_key
:[null,[I
.a
.requiredIf({generate_key
:!1})]]})}setViewing(l
=!0){this.viewing
=l
,this.action
=this.viewing
?this.actionLabels
.SHOW
:this.actionLabels
.CREATE
}setValues(l
,n
,u
){this.formGroup
.setValue({user
:l
,generate_key
:r
.isEmpty(n
),access_key
:n
,secret_key
:u
})}setUserCandidates(l
){this.userCandidates
=l
}onSubmit(){this.submitAction
.emit(this.formGroup
.value
),this.bsModalRef
.hide()}}class ${}class Z{constructor(l,n,u,t){this.formBuilder=l,this.bsModalRef=n,this.i18n=u,this.actionLabels=t,this.submitAction=new e.EventEmitter,this.editing=!0,this.subusers=[],this.resource=this.i18n("Subuser"),this.createForm()}
createForm(){this.formGroup
=this.formBuilder
.group({uid
:[null],subuid
:[null,[d
.B
.required
,this.subuserValidator()]],perm
:[null,[d
.B
.required
]],generate_secret
:[!0],secret_key
:[null,[I
.a
.requiredIf({generate_secret
:!1})]]})}subuserValidator(){const l
=this;return n
=>l
.editing
?null:Object(I
.b
)(n
.value
)?null:l
.subusers
.some(u
=>r
.isEqual(l
.getSubuserName(u
.id
),n
.value
))?{subuserIdExists
:!0}:null}getSubuserName(l
){if(r
.isEmpty(l
))return l
;const n
=l
.match(/([^:]+)(:(.+))?/);return r
.isUndefined(n
[3])?n
[1]:n
[3]}setEditing(l
=!0){this.editing
=l
,this.action
=this.editing
?this.actionLabels
.EDIT
:this.actionLabels
.CREATE
}setValues(l
,n
="",u
=""){this.formGroup
.setValue({uid
:l
,subuid
:this.getSubuserName(n
),perm
:u
,generate_secret
:!0,secret_key
:null})}setSubusers(l
){this.subusers
=l
}onSubmit(){const l
=this.formGroup
.value
,n
=new $;n
.id
=`${l.uid}:${l.subuid}`,n
.permissions
=l
.perm
,n
.generate_secret
=l
.generate_secret
,n
.secret_key
=l
.secret_key
,this.submitAction
.emit(n
),this.bsModalRef
.hide()}}class H
{constructor(l
,n
,u
){this.bsModalRef
=l
,this.i18n
=n
,this.actionLabels
=u
,this.resource
=this.i18n("Swift Key"),this.action
=this.actionLabels
.SHOW
}setValues(l
,n
){this.user
=l
,this.secret_key
=n
}}class Q
{constructor(l
,n
,u
,e
,t
,i
,a
,o
){this.formBuilder
=l
,this.route
=n
,this.router
=u
,this.rgwUserService
=e
,this.bsModalService
=t
,this.notificationService
=i
,this.i18n
=a
,this.actionLabels
=o
,this.editing
=!1,this.error
=!1,this.loading
=!1,this.submitObservables
=[],this.icons
=k
.a
,this.subusers
=[],this.s3Keys
=[],this.swiftKeys
=[],this.capabilities
=[],this.resource
=this.i18n("user"),this.subuserLabel
=this.i18n("subuser"),this.s3keyLabel
=this.i18n("S3 Key"),this.capabilityLabel
=this.i18n("capability"),this.createForm()}createForm(){this.userForm
=this.formBuilder
.group({uid
:[null,[d
.B
.required
],[I
.a
.unique(this.rgwUserService
.exists
,this.rgwUserService
)]],display_name
:[null,[d
.B
.required
]],email
:[null,[I
.a
.email
],[I
.a
.unique(this.rgwUserService
.emailExists
,this.rgwUserService
)]],max_buckets_mode
:[1],max_buckets
:[1e3
,[I
.a
.requiredIf({max_buckets_mode
:"1"}),I
.a
.number(!1),d
.B
.min(1)]],suspended
:[!1],generate_key
:[!0],access_key
:[null,[I
.a
.requiredIf({generate_key
:!1})]],secret_key
:[null,[I
.a
.requiredIf({generate_key
:!1})]],user_quota_enabled
:[!1],user_quota_max_size_unlimited
:[!0],user_quota_max_size
:[null,[I
.a
.composeIf({user_quota_enabled
:!0,user_quota_max_size_unlimited
:!1},[d
.B
.required
,this.quotaMaxSizeValidator
])]],user_quota_max_objects_unlimited
:[!0],user_quota_max_objects
:[null,[d
.B
.min(0),I
.a
.requiredIf({user_quota_enabled
:!0,user_quota_max_objects_unlimited
:!1})]],bucket_quota_enabled
:[!1],bucket_quota_max_size_unlimited
:[!0],bucket_quota_max_size
:[null,[I
.a
.composeIf({bucket_quota_enabled
:!0,bucket_quota_max_size_unlimited
:!1},[d
.B
.required
,this.quotaMaxSizeValidator
])]],bucket_quota_max_objects_unlimited
:[!0],bucket_quota_max_objects
:[null,[d
.B
.min(0),I
.a
.requiredIf({bucket_quota_enabled
:!0,bucket_quota_max_objects_unlimited
:!1})]]})}ngOnInit(){this.editing
=this.router
.url
.startsWith(`/rgw/user/${t.e.EDIT}`),this.action
=this.editing
?this.actionLabels
.EDIT
:this.actionLabels
.CREATE
,this.route
.params
.subscribe(l
=>{if(!l
.hasOwnProperty("uid"))return;const n
=decodeURIComponent(l
.uid
);this.loading
=!0;const u
=[];u
.push(this.rgwUserService
.get(n
)),u
.push(this.rgwUserService
.getQuota(n
)),Object(g
.a
)(u
).subscribe(l
=>{this.loading
=!1;const n
=r
.clone(this.userForm
.value
);let u
=r
.pick(l
[0],r
.keys(this.userForm
.value
));switch(u
.max_buckets
){case-1:u
.max_buckets_mode
=-1,u
.max_buckets
="";break;case 0:u
.max_buckets_mode
=0,u
.max_buckets
="";break;default:u
.max_buckets_mode
=1}["user","bucket"].forEach(n
=>{const e
=l
[1][n
+"_quota"];u
[n
+"_quota_enabled"]=e
.enabled
,e
.max_size
<0?(u
[n
+"_quota_max_size_unlimited"]=!0,u
[n
+"_quota_max_size"]=null):(u
[n
+"_quota_max_size_unlimited"]=!1,u
[n
+"_quota_max_size"]=`${e.max_size} B`),e
.max_objects
<0?(u
[n
+"_quota_max_objects_unlimited"]=!0,u
[n
+"_quota_max_objects"]=null):(u
[n
+"_quota_max_objects_unlimited"]=!1,u
[n
+"_quota_max_objects"]=e
.max_objects
)}),u
=r
.merge(n
,u
),this.userForm
.setValue(u
),this.subusers
=l
[0].subusers
,this.s3Keys
=l
[0].keys
,this.swiftKeys
=l
[0].swift_keys
;const e
={"read, write":"*"};l
[0].caps
.forEach(l
=>{l
.perm
in e
&&(l
.perm
=e
[l
.perm
])}),this.capabilities
=l
[0].caps
},l
=>{this.error
=l
})})}goToListView(){this.router
.navigate(["/rgw/user"])}onSubmit(){let l
;if(this.userForm
.pristine
)return void this.goToListView();const n
=this.userForm
.getValue("uid");if(this.editing
){if(this._isGeneralDirty()){const l
=this._getUpdateArgs();this.submitObservables
.push(this.rgwUserService
.update(n
,l
))}l
=this.i18n('Updated Object Gateway user "{{uid}}"',{uid
:n
})}else{const u
=this._getCreateArgs();this.submitObservables
.push(this.rgwUserService
.create(u
)),l
=this.i18n('Created Object Gateway user "{{uid}}"',{uid
:n
})}if(this._isUserQuotaDirty()){const l
=this._getUserQuotaArgs();this.submitObservables
.push(this.rgwUserService
.updateQuota(n
,l
))}if(this._isBucketQuotaDirty()){const l
=this._getBucketQuotaArgs();this.submitObservables
.push(this.rgwUserService
.updateQuota(n
,l
))}Object(O
.a
)(...this.submitObservables
).subscribe({error
:()=>{this.userForm
.setErrors({cdSubmitButton
:!0})},complete
:()=>{this.notificationService
.show(y
.a
.success
,l
),this.goToListView()}})}quotaMaxSizeValidator(l
){return Object(I
.b
)(l
.value
)?null:null===RegExp("^(\\d+(\\.\\d+)?)\\s*(B|K(B|iB)?|M(B|iB)?|G(B|iB)?|T(B|iB)?)?$","i").exec(l
.value
)?{quotaMaxSize
:!0}:(new U
.a
).toBytes(l
.value
)<1024?{quotaMaxSize
:!0}:null}setSubuser(l
,n
){const u
={"full-control":"full","read-write":"readwrite"},e
=this.userForm
.getValue("uid");this.submitObservables
.push(this.rgwUserService
.createSubuser(e
,{subuser
:l
.id
,access
:l
.permissions
in u
?u
[l
.permissions
]:l
.permissions
,key_type
:"swift",secret_key
:l
.secret_key
,generate_secret
:l
.generate_secret
?"true":"false"})),r
.isNumber(n
)?this.subusers
[n
]=l
:(this.subusers
.push(l
),this.swiftKeys
.push({user
:l
.id
,secret_key
:l
.generate_secret
?"Apply your changes first...":l
.secret_key
})),this.userForm
.markAsDirty()}deleteSubuser(l
){const n
=this.subusers
[l
];this.submitObservables
.push(this.rgwUserService
.deleteSubuser(this.userForm
.getValue("uid"),n
.id
)),this.s3Keys
=this.s3Keys
.filter(l
=>l
.user
!==n
.id
),this.swiftKeys
=this.swiftKeys
.filter(l
=>l
.user
!==n
.id
),this.subusers
.splice(l
,1),this.userForm
.markAsDirty()}setCapability(l
,n
){const u
=this.userForm
.getValue("uid");if(r
.isNumber(n
)){const e
=this.capabilities
[n
];this.submitObservables
.push(this.rgwUserService
.deleteCapability(u
,e
.type
,e
.perm
)),this.submitObservables
.push(this.rgwUserService
.addCapability(u
,l
.type
,l
.perm
)),this.capabilities
[n
]=l
}else this.submitObservables
.push(this.rgwUserService
.addCapability(u
,l
.type
,l
.perm
)),this.capabilities
.push(l
);this.userForm
.markAsDirty()}deleteCapability(l
){const n
=this.capabilities
[l
];this.submitObservables
.push(this.rgwUserService
.deleteCapability(this.userForm
.getValue("uid"),n
.type
,n
.perm
)),this.capabilities
.splice(l
,1),this.userForm
.markAsDirty()}hasAllCapabilities(){return!r
.difference(z
.getAll(),r
.map(this.capabilities
,"type")).length
}setS3Key(l
,n
){if(r
.isNumber(n
));else{const n
=l
.user
.match(/([^:]+)(:(.+))?/),u=n[1],e={subuser:n[2]?n[3]:"",generate_key:l.generate_key?"true":"false"};"false"===e.generate_key&&(r.isNil(l.access_key)||(e.access_key=l.access_key),r.isNil(l.secret_key)||(e.secret_key=l.secret_key)),this.submitObservables.push(this.rgwUserService.addS3Key(u,e)),this.s3Keys.push({user:l.user,access_key:l.generate_key?"Apply your changes first...":l.access_key,secret_key:l.generate_key?"Apply your changes first...":l.secret_key})}this.userForm.markAsDirty()}deleteS3Key(l){const n=this.s3Keys[l];this.submitObservables.push(this.rgwUserService.deleteS3Key(this.userForm.getValue("uid"),n.access_key)),this.s3Keys.splice(l,1),this.userForm.markAsDirty()}showSubuserModal(l){const n=this.userForm.getValue("uid"),u=this.bsModalService.show(Z);if(r.isNumber(l)){const e=this.subusers[l];u.content.setEditing(),u.content.setValues(n,e.id,e.permissions)}else u.content.setEditing(!1),u.content.setValues(n),u.content.setSubusers(this.subusers);u.content.submitAction.subscribe(n=>{this.setSubuser(n,l)})}showS3KeyModal(l){const n=this.bsModalService.show(K);if(r.isNumber(l)){const u=this.s3Keys[l];n.content.setViewing(),n.content.setValues(u.user,u.access_key,u.secret_key)}else{const l=this._getS3KeyUserCandidates();n.content.setViewing(!1),n.content.setUserCandidates(l),n.content.submitAction.subscribe(l=>{this.setS3Key(l)})}}showSwiftKeyModal(l){const n=this.bsModalService.show(H),u=this.swiftKeys[l];n.content.setValues(u.user,u.secret_key)}showCapabilityModal(l){const n=this.bsModalService.show(G);if(r.isNumber(l)){const u=this.capabilities[l];n.content.setEditing(),n.content.setValues(u.type,u.perm)}else n.content.setEditing(!1),n.content.setCapabilities(this.capabilities);n.content.submitAction.subscribe(n=>{this.setCapability(n,l)})}_isGeneralDirty(){return["display_name","email","max_buckets_mode","max_buckets","suspended"].some(l=>this.userForm.get(l).dirty)}_isUserQuotaDirty(){return["user_quota_enabled","user_quota_max_size_unlimited","user_quota_max_size","user_quota_max_objects_unlimited","user_quota_max_objects"].some(l=>this.userForm.get(l).dirty)}_isBucketQuotaDirty(){return["bucket_quota_enabled","bucket_quota_max_size_unlimited","bucket_quota_max_size","bucket_quota_max_objects_unlimited","bucket_quota_max_objects"].some(l=>this.userForm.get(l).dirty)}_getCreateArgs(){const l={uid:this.userForm.getValue("uid"),display_name:this.userForm.getValue("display_name"),suspended:this.userForm.getValue("suspended"),email:"",max_buckets:this.userForm.getValue("max_buckets"),generate_key:this.userForm.getValue("generate_key"),access_key:"",secret_key:""},n=this.userForm.getValue("email");r.isString(n)&&n.length>0&&r.merge(l,{email:n}),this.userForm.getValue("generate_key")||r.merge(l,{generate_key:!1,access_key:this.userForm.getValue("access_key"),secret_key:this.userForm.getValue("secret_key")});const u=parseInt(this.userForm.getValue("max_buckets_mode"),10);return r.includes([-1,0],u)&&r.merge(l,{max_buckets:u}),l}_getUpdateArgs(){const l={},n=["display_name","email","max_buckets","suspended"];for(const e of n)l[e]=this.userForm.getValue(e);const u=parseInt(this.userForm.getValue("max_buckets_mode"),10);return r.includes([-1,0],u)&&(l.max_buckets=u),l}_getUserQuotaArgs(){const l={quota_type:"user",enabled:this.userForm.getValue("user_quota_enabled"),max_size_kb:-1,max_objects:-1};if(!this.userForm.getValue("user_quota_max_size_unlimited")){const n=(new U.a).toBytes(this.userForm.getValue("user_quota_max_size"));l.max_size_kb=(n/1024).toFixed(0)}return this.userForm
.getValue("user_quota_max_objects_unlimited")||(l
.max_objects
=this.userForm
.getValue("user_quota_max_objects")),l
}_getBucketQuotaArgs(){const l
={quota_type
:"bucket",enabled
:this.userForm
.getValue("bucket_quota_enabled"),max_size_kb
:-1,max_objects
:-1};if(!this.userForm
.getValue("bucket_quota_max_size_unlimited")){const n
=(new U
.a
).toBytes(this.userForm
.getValue("bucket_quota_max_size"));l
.max_size_kb
=(n
/1024).toFixed(0)}return this.userForm.getValue("bucket_quota_max_objects_unlimited")||(l.max_objects=this.userForm.getValue("bucket_quota_max_objects")),l}_getS3KeyUserCandidates(){let l=[];const n=this.userForm.getValue("uid");return r.isString(n)&&!r.isEmpty(n)&&l.push(n),this.subusers.forEach(n=>{l.push(n.id)}),this.s3Keys.forEach(n=>{l.push(n.user)}),l=r.uniq(l),l}}var Y=u("x38r");const W=new F.a("rgw/user");class J{constructor(l,n,u,e,t,i,a){this.authStorageService=l,this.rgwUserService=n,this.bsModalService=u,this.i18n=e,this.urlBuilder=t,this.actionLabels=i,this.ngZone=a,this.columns=[],this.users=[],this.selection=new x.a,this.isStale=!1,this.permission=this.authStorageService.getPermissions().rgw,this.columns=[{name:this.i18n("Username
"),prop:"uid
",flexGrow:1},{name:this.i18n("Full name
"),prop:"display_name
",flexGrow:1},{name:this.i18n("Email address
"),prop:"email
",flexGrow:1},{name:this.i18n("Suspended
"),prop:"suspended
",flexGrow:1,cellClass:"text
-center
",cellTransformation:Y.a.checkIcon},{name:this.i18n("Max
. buckets
"),prop:"max_buckets
",flexGrow:1,cellTransformation:Y.a.map,customTemplateConfig:{"-1":this.i18n("Disabled
"),0:this.i18n("Unlimited
")}}];const o=()=>this.selection.first()&&`${encodeURIComponent(this.selection.first().uid)}`;this.tableActions=[{permission:"create
",icon:k.a.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE,canBePrimary:l=>!l.hasSelection},{permission:"update
",icon:k.a.edit,routerLink:()=>this.urlBuilder.getEdit(o()),name:this.actionLabels.EDIT},{permission:"delete",icon:k.a.destroy,click:()=>this.deleteAction(),disable:()=>!this.selection.hasSelection,name:this.actionLabels.DELETE,canBePrimary:l=>l.hasMultiSelection}],this.timeConditionReached()}timeConditionReached(){clearTimeout(this.staleTimeout),this.ngZone.runOutsideAngular(()=>{this.staleTimeout=window.setTimeout(()=>{this.ngZone.run(()=>{this.isStale=!0})},1e4)})}getUserList(l){this.isStale=!1,this.timeConditionReached(),this.rgwUserService.list().subscribe(l=>{this.users=l},()=>{l.error()})}updateSelection(l){this.selection=l}deleteAction(){this.bsModalService.show(V.a,{initialState:{itemDescription:this.i18n(this.selection.hasSingleSelection?"user
":"users
"),itemNames:this.selection.selected.map(l=>l.uid),submitActionObservable:()=>new T.a(l=>{Object(g.a)(this.selection.selected.map(l=>this.rgwUserService.delete(l.uid))).subscribe(null,n=>{l.error(n),this.table.refreshBtn()},()=>{l.complete(),this.table.refreshBtn()})})}})}}class X{}const ll={breadcrumbs:"Daemons
"},nl={breadcrumbs:"Users
"},ul={breadcrumbs:t.a.CREATE},el={breadcrumbs:t.a.EDIT},tl={breadcrumbs:"Buckets
"},il={breadcrumbs:t.a.CREATE},al={breadcrumbs:t.a.EDIT},ol={breadcrumbs:"Object Gateway
"};class sl{}var dl=u("MdoF
"),rl=u("ES0t
"),cl=u("Xg1U
"),ml=u("z5nN
"),gl=u("iutN
"),pl=u("pMnS
"),fl=u("EEJc
"),vl=u("PEr
+"),bl=u("a40w
"),hl=u("hfeG
"),Cl=u("2ZVE
"),_l=u("a278
"),kl=u("insk
"),yl=u("cUpR
"),Rl=u("20UP"),Il=u("GiVz
"),wl=u("pKUh
"),El=u("sLuX
"),Nl=u("FSuO
"),ql=u("a0VL
"),Tl=u("j8L6
"),Vl=u("b5OY
"),Sl=u("pxLl
"),xl=u("SVse
");class Dl{constructor(l,n){this.rgwDaemonService=l,this.authStorageService=n,this.serviceId="",this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){this.selection.hasSelection&&(this.serviceId=this.selection.first().id)}getMetaData(){r.isEmpty(this.serviceId)||this.rgwDaemonService.get(this.serviceId).subscribe(l=>{this.metadata=l.rgw_metadata})}}var Fl=e["ɵcrt
"]({encapsulation:0,styles:[[""]],data:{}});function jl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,3,"tab
",[["heading
","Performance Details
"]],[[1,"id
",0],[2,"active
",null],[2,"tab
-pane
",null]],null,null,null,null)),e["ɵdid
"](1,212992,null,0,Cl.b,[Cl.e,e.ElementRef,e.Renderer2],{heading:[0,"heading
"]},null),(l()(),e["ɵeld
"](2,0,null,null,1,"cd
-grafana
",[["grafanaStyle
","one
"],["uid
","x5ARzZtmk
"]],null,null,null,_l.b,_l.a)),e["ɵdid
"](3,638976,null,0,kl.a,[o.a,yl.b,Rl.a,a.a,Il.a],{grafanaPath:[0,"grafanaPath
"],grafanaStyle:[1,"grafanaStyle
"],uid:[2,"uid
"]},null)],(function(l,n){var u=n.component;l(n,1,0,"Performance Details
"),l(n,3,0,"rgw
-instance
-detail
?var-rgw_servers
=rgw
."+u.selection.first().id,"one
","x5ARzZtmk
")}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).id,e["ɵnov
"](n,1).active,e["ɵnov
"](n,1).addClass)}))}function Bl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,11,"tabset
",[],[[2,"tab
-container
",null]],null,null,wl.b,wl.a)),e["ɵdid
"](1,180224,null,0,Cl.e,[Cl.f,e.Renderer2,e.ElementRef],null,null),(l()(),e["ɵeld
"](2,0,null,0,3,"tab
",[["heading
","Details
"]],[[1,"id
",0],[2,"active
",null],[2,"tab
-pane
",null]],null,null,null,null)),e["ɵdid
"](3,212992,null,0,Cl.b,[Cl.e,e.ElementRef,e.Renderer2],{heading:[0,"heading
"]},null),(l()(),e["ɵeld
"](4,0,null,null,1,"cd
-table
-key
-value
",[],null,[[null,"fetchData
"]],(function(l,n,u){var e=!0;return"fetchData
"===n&&(e=!1!==l.component.getMetaData()&&e),e}),El.b,El.a)),e["ɵdid
"](5,638976,null,0,Nl.a,[ql.a],{data:[0,"data
"]},{fetchData:"fetchData
"}),(l()(),e["ɵeld
"](6,0,null,0,3,"tab
",[["heading
","Performance Counters
"]],[[1,"id
",0],[2,"active
",null],[2,"tab
-pane
",null]],null,null,null,null)),e["ɵdid
"](7,212992,null,0,Cl.b,[Cl.e,e.ElementRef,e.Renderer2],{heading:[0,"heading
"]},null),(l()(),e["ɵeld
"](8,0,null,null,1,"cd
-table
-performance
-counter
",[["serviceType
","rgw
"]],null,null,null,Tl.b,Tl.a)),e["ɵdid
"](9,114688,null,0,Vl.a,[Sl.a,Il.a],{serviceType:[0,"serviceType
"],serviceId:[1,"serviceId
"]},null),(l()(),e["ɵand
"](16777216,null,0,1,null,jl)),e["ɵdid
"](11,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,3,0,"Details
"),l(n,5,0,u.metadata),l(n,7,0,"Performance Counters
"),l(n,9,0,"rgw
",u.serviceId),l(n,11,0,u.grafanaPermission.read)}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).clazz),l(n,2,0,e["ɵnov
"](n,3).id,e["ɵnov
"](n,3).active,e["ɵnov
"](n,3).addClass),l(n,6,0,e["ɵnov
"](n,7).id,e["ɵnov
"](n,7).active,e["ɵnov
"](n,7).addClass)}))}function Al(l){return e["ɵvid
"](0,[(l()(),e["ɵand
"](16777216,null,null,1,null,Bl)),e["ɵdid
"](1,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){l(n,1,0,n.component.selection.hasSingleSelection)}),null)}function Pl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"cd
-rgw
-daemon
-details
",[],null,null,null,Al,Fl)),e["ɵdid
"](1,573440,null,0,Dl,[A,D.a],null,null)],null,null)}var Ml=e["ɵccf
"]("cd
-rgw
-daemon
-details
",Dl,Pl,{selection:"selection
"},{},[]),Ol=u("iExv
"),Ul=u("o4
+5");class Ll{constructor(){}ngOnChanges(){this.selection.hasSelection&&(this.bucket=this.selection.first())}}var zl=e["ɵcrt
"]({encapsulation:0,styles:[[""]],data:{}});function Gl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Unlimited
"]))],null,null)}function Kl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](1,null,[" "," "])),e["ɵppd
"](2,1)],null,(function(l,n){var u=n.component,t=e["ɵunv
"](n,1,0,l(n,2,0,e["ɵnov
"](n.parent.parent.parent.parent,2),u.bucket.bucket_quota.max_size));l(n,1,0,t)}))}function $l(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Unlimited
"]))],null,null)}function Zl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.bucket.bucket_quota.max_objects)}))}function Hl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,24,"div
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"legend
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Bucket quota
"])),(l()(),e["ɵeld
"](3,0,null,null,21,"table
",[["class","table table
-striped table
-bordered
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](4,0,null,null,20,"tbody
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,5,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,1,"td
",[["class","bold w
-25"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enabled
"])),(l()(),e["ɵeld
"](8,0,null,null,2,"td
",[["class","w
-75"]],null,null,null,null,null)),(l()(),e["ɵted
"](9,null,["",""])),e["ɵppd
"](10,1),(l()(),e["ɵeld
"](11,0,null,null,6,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](12,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Maximum size
"])),(l()(),e["ɵand
"](16777216,null,null,1,null,Gl)),e["ɵdid
"](15,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Kl)),e["ɵdid
"](17,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](18,0,null,null,6,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](19,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Maximum objects
"])),(l()(),e["ɵand
"](16777216,null,null,1,null,$l)),e["ɵdid
"](22,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Zl)),e["ɵdid
"](24,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,15,0,u.bucket.bucket_quota.max_size<=-1),l(n,17,0,u.bucket.bucket_quota.max_size>-1),l(n,22,0,u.bucket.bucket_quota.max_objects<=-1),l(n,24,0,u.bucket.bucket_quota.max_objects>-1)}),(function(l,n){var u=n.component,t=e["ɵunv
"](n,9,0,l(n,10,0,e["ɵnov
"](n.parent.parent.parent,1),u.bucket.bucket_quota.enabled));l(n,9,0,t)}))}function Ql(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,15,null,null,null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](2,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Mode
"])),(l()(),e["ɵeld
"](4,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](5,null,["",""])),(l()(),e["ɵeld
"](6,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Days
"])),(l()(),e["ɵeld
"](9,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](10,null,["",""])),(l()(),e["ɵeld
"](11,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](12,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Years
"])),(l()(),e["ɵeld
"](14,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](15,null,["",""]))],null,(function(l,n){var u=n.component;l(n,5,0,u.bucket.lock_mode),l(n,10,0,u.bucket.lock_retention_period_days),l(n,15,0,u.bucket.lock_retention_period_years)}))}function Yl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,82,"div
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,67,"table
",[["class","table table
-striped table
-bordered
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](2,0,null,null,66,"tbody
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](3,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](4,0,null,null,1,"td
",[["class","bold w
-25"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Name
"])),(l()(),e["ɵeld
"](6,0,null,null,1,"td
",[["class","w
-75"]],null,null,null,null,null)),(l()(),e["ɵted
"](7,null,["",""])),(l()(),e["ɵeld
"](8,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](9,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["ID
"])),(l()(),e["ɵeld
"](11,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](12,null,["",""])),(l()(),e["ɵeld
"](13,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](14,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Owner
"])),(l()(),e["ɵeld
"](16,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](17,null,["",""])),(l()(),e["ɵeld
"](18,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](19,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Index type
"])),(l()(),e["ɵeld
"](21,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](22,null,["",""])),(l()(),e["ɵeld
"](23,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](24,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Placement rule
"])),(l()(),e["ɵeld
"](26,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](27,null,["",""])),(l()(),e["ɵeld
"](28,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](29,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Marker
"])),(l()(),e["ɵeld
"](31,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](32,null,["",""])),(l()(),e["ɵeld
"](33,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](34,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Maximum marker
"])),(l()(),e["ɵeld
"](36,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](37,null,["",""])),(l()(),e["ɵeld
"](38,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](39,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Version
"])),(l()(),e["ɵeld
"](41,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](42,null,["",""])),(l()(),e["ɵeld
"](43,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](44,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Master version
"])),(l()(),e["ɵeld
"](46,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](47,null,["",""])),(l()(),e["ɵeld
"](48,0,null,null,5,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](49,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Modification time
"])),(l()(),e["ɵeld
"](51,0,null,null,2,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](52,null,["",""])),e["ɵppd
"](53,1),(l()(),e["ɵeld
"](54,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](55,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Zonegroup
"])),(l()(),e["ɵeld
"](57,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](58,null,["",""])),(l()(),e["ɵeld
"](59,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](60,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Versioning
"])),(l()(),e["ɵeld
"](62,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](63,null,["",""])),(l()(),e["ɵeld
"](64,0,null,null,4,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](65,0,null,null,1,"td
",[["class","bold
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["MFA Delete
"])),(l()(),e["ɵeld
"](67,0,null,null,1,"td
",[],null,null,null,null,null)),(l()(),e["ɵted
"](68,null,["",""])),(l()(),e["ɵand
"](16777216,null,null,1,null,Hl)),e["ɵdid
"](70,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](71,0,null,null,1,"legend
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Locking
"])),(l()(),e["ɵeld
"](73,0,null,null,9,"table
",[["class","table table
-striped table
-bordered
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](74,0,null,null,8,"tbody
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](75,0,null,null,5,"tr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](76,0,null,null,1,"td
",[["class","bold w
-25"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enabled
"])),(l()(),e["ɵeld
"](78,0,null,null,2,"td
",[["class","w
-75"]],null,null,null,null,null)),(l()(),e["ɵted
"](79,null,["",""])),e["ɵppd
"](80,1),(l()(),e["ɵand
"](16777216,null,null,1,null,Ql)),e["ɵdid
"](82,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,70,0,u.bucket.bucket_quota),l(n,82,0,u.bucket.lock_enabled)}),(function(l,n){var u=n.component;l(n,7,0,u.bucket.bid),l(n,12,0,u.bucket.id),l(n,17,0,u.bucket.owner),l(n,22,0,u.bucket.index_type),l(n,27,0,u.bucket.placement_rule),l(n,32,0,u.bucket.marker),l(n,37,0,u.bucket.max_marker),l(n,42,0,u.bucket.ver),l(n,47,0,u.bucket.master_ver);var t=e["ɵunv
"](n,52,0,l(n,53,0,e["ɵnov
"](n.parent.parent,0),u.bucket.mtime));l(n,52,0,t),l(n,58,0,u.bucket.zonegroup),l(n,63,0,u.bucket.versioning),l(n,68,0,u.bucket.mfa_delete);var i=e["ɵunv
"](n,79,0,l(n,80,0,e["ɵnov
"](n.parent.parent,1),u.bucket.lock_enabled));l(n,79,0,i)}))}function Wl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,5,"tabset
",[],[[2,"tab
-container
",null]],null,null,wl.b,wl.a)),e["ɵdid
"](1,180224,null,0,Cl.e,[Cl.f,e.Renderer2,e.ElementRef],null,null),(l()(),e["ɵeld
"](2,0,null,0,3,"tab
",[["heading
","Details
"]],[[1,"id
",0],[2,"active
",null],[2,"tab
-pane
",null]],null,null,null,null)),e["ɵdid
"](3,212992,null,0,Cl.b,[Cl.e,e.ElementRef,e.Renderer2],{heading:[0,"heading
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Yl)),e["ɵdid
"](5,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,3,0,"Details
"),l(n,5,0,u.bucket)}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).clazz),l(n,2,0,e["ɵnov
"](n,3).id,e["ɵnov
"](n,3).active,e["ɵnov
"](n,3).addClass)}))}function Jl(l){return e["ɵvid
"](0,[e["ɵpid
"](0,ql.a,[xl.DatePipe]),e["ɵpid
"](0,Ol.a,[Il.a]),e["ɵpid
"](0,Ul.a,[U.a]),(l()(),e["ɵand
"](16777216,null,null,1,null,Wl)),e["ɵdid
"](4,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){l(n,4,0,n.component.selection.hasSingleSelection)}),null)}function Xl(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"cd
-rgw
-bucket
-details
",[],null,null,null,Jl,zl)),e["ɵdid
"](1,573440,null,0,Ll,[],null,null)],null,null)}var ln=e["ɵccf
"]("cd
-rgw
-bucket
-details
",Ll,Xl,{selection:"selection
"},{},[]),nn=u("25BL
"),un=u("FE24
"),en=u("z
/SZ"),tn=u("TJUb"),an=u("Fgil");class on{constructor(l,n,u){this.rgwUserService=l,this.bsModalService=n,this.i18n=u,this.keys=[],this.keysColumns=[],this.keysSelection=new x.a,this.icons=k.a}ngOnInit(){this.keysColumns=[{name:this.i18n("Username"),prop:"username",flexGrow:1},{name:this.i18n("Type"),prop:"type",flexGrow:1}],this.maxBucketsMap={"-1":this.i18n("Disabled"),0:this.i18n("Unlimited")}}ngOnChanges(){this.selection.hasSelection&&(this.user=this.selection.first(),this.user.subusers=r.sortBy(this.user.subusers,"id"),this.user.caps=r.sortBy(this.user.caps,"type"),this.rgwUserService.getQuota(this.user.uid).subscribe(l=>{r.extend(this.user,l)}),this.keys=[],this.user.keys&&this.user.keys.forEach(l=>{this.keys.push({id:this.keys.length+1,type:"S3",username:l.user,ref:l})}),this.user.swift_keys&&this.user.swift_keys.forEach(l=>{this.keys.push({id:this.keys.length+1,type:"Swift",username:l.user,ref:l})}),this.keys=r.sortBy(this.keys,"user"))}updateKeysSelection(l){this.keysSelection=l}showKeyModal(){const l=this.keysSelection.first(),n=this.bsModalService.show("S3"===l.type?K:H);switch(l.type){case"S3":n.content.setViewing(),n.content.setValues(l.ref.user,l.ref.access_key,l.ref.secret_key);break;case"Swift":n.content.setValues(l.ref.user,l.ref.secret_key)}}}var sn=u("LqlI"),dn=e["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function rn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](1,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Email address"])),(l()(),e["ɵeld"](3,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](4,null,["",""]))],null,(function(l,n){l(n,4,0,n.component.user.email)}))}function cn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),e["ɵted"](1,null,[" "," (",") "]))],null,(function(l,n){l(n,1,0,n.context.$implicit.id,n.context.$implicit.permissions)}))}function mn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](1,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Subusers"])),(l()(),e["ɵeld"](3,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),e["ɵand"](16777216,null,null,1,null,cn)),e["ɵdid"](5,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){l(n,5,0,n.component.user.subusers)}),null)}function gn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),e["ɵted"](1,null,[" "," (",") "]))],null,(function(l,n){l(n,1,0,n.context.$implicit.type,n.context.$implicit.perm)}))}function pn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](1,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Capabilities"])),(l()(),e["ɵeld"](3,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),e["ɵand"](16777216,null,null,1,null,gn)),e["ɵdid"](5,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){l(n,5,0,n.component.user.caps)}),null)}function fn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["-"]))],null,null)}function vn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Unlimited"]))],null,null)}function bn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](1,null,[" "," "])),e["ɵppd"](2,1)],null,(function(l,n){var u=n.component,t=e["ɵunv"](n,1,0,l(n,2,0,e["ɵnov"](n.parent.parent.parent.parent,2),u.user.user_quota.max_size));l(n,1,0,t)}))}function hn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["-"]))],null,null)}function Cn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Unlimited"]))],null,null)}function _n(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.user.user_quota.max_objects)}))}function kn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),e["ɵeld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["User quota"])),(l()(),e["ɵeld"](3,0,null,null,25,"table",[["class","table table-striped table-bordered"]],null,null,null,null,null)),(l()(),e["ɵeld"](4,0,null,null,24,"tbody",[],null,null,null,null,null)),(l()(),e["ɵeld"](5,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](6,0,null,null,1,"td",[["class","bold w-25"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Enabled"])),(l()(),e["ɵeld"](8,0,null,null,2,"td",[["class","w-75"]],null,null,null,null,null)),(l()(),e["ɵted"](9,null,["",""])),e["ɵppd"](10,1),(l()(),e["ɵeld"](11,0,null,null,8,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](12,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Maximum size"])),(l()(),e["ɵand"](16777216,null,null,1,null,fn)),e["ɵdid"](15,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,vn)),e["ɵdid"](17,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,bn)),e["ɵdid"](19,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](20,0,null,null,8,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](21,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Maximum objects"])),(l()(),e["ɵand"](16777216,null,null,1,null,hn)),e["ɵdid"](24,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,Cn)),e["ɵdid"](26,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,_n)),e["ɵdid"](28,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,15,0,!u.user.user_quota.enabled),l(n,17,0,u.user.user_quota.enabled&&u.user.user_quota.max_size<=-1),l(n,19,0,u.user.user_quota.enabled&&u.user.user_quota.max_size>-1),l(n,24,0,!u.user.user_quota.enabled),l(n,26,0,u.user.user_quota.enabled&&u.user.user_quota.max_objects<=-1),l(n,28,0,u.user.user_quota.enabled&&u.user.user_quota.max_objects>-1)}),(function(l,n){var u=n.component,t=e["ɵunv"](n,9,0,l(n,10,0,e["ɵnov"](n.parent.parent.parent,0),u.user.user_quota.enabled));l(n,9,0,t)}))}function yn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["-"]))],null,null)}function Rn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Unlimited"]))],null,null)}function In(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](1,null,[" "," "])),e["ɵppd"](2,1)],null,(function(l,n){var u=n.component,t=e["ɵunv"](n,1,0,l(n,2,0,e["ɵnov"](n.parent.parent.parent.parent,2),u.user.bucket_quota.max_size));l(n,1,0,t)}))}function wn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["-"]))],null,null)}function En(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Unlimited"]))],null,null)}function Nn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.user.bucket_quota.max_objects)}))}function qn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),e["ɵeld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Bucket quota"])),(l()(),e["ɵeld"](3,0,null,null,25,"table",[["class","table table-striped table-bordered"]],null,null,null,null,null)),(l()(),e["ɵeld"](4,0,null,null,24,"tbody",[],null,null,null,null,null)),(l()(),e["ɵeld"](5,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](6,0,null,null,1,"td",[["class","bold w-25"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Enabled"])),(l()(),e["ɵeld"](8,0,null,null,2,"td",[["class","w-75"]],null,null,null,null,null)),(l()(),e["ɵted"](9,null,["",""])),e["ɵppd"](10,1),(l()(),e["ɵeld"](11,0,null,null,8,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](12,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Maximum size"])),(l()(),e["ɵand"](16777216,null,null,1,null,yn)),e["ɵdid"](15,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,Rn)),e["ɵdid"](17,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,In)),e["ɵdid"](19,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](20,0,null,null,8,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](21,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Maximum objects"])),(l()(),e["ɵand"](16777216,null,null,1,null,wn)),e["ɵdid"](24,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,En)),e["ɵdid"](26,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,Nn)),e["ɵdid"](28,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,15,0,!u.user.bucket_quota.enabled),l(n,17,0,u.user.bucket_quota.enabled&&u.user.bucket_quota.max_size<=-1),l(n,19,0,u.user.bucket_quota.enabled&&u.user.bucket_quota.max_size>-1),l(n,24,0,!u.user.bucket_quota.enabled),l(n,26,0,u.user.bucket_quota.enabled&&u.user.bucket_quota.max_objects<=-1),l(n,28,0,u.user.bucket_quota.enabled&&u.user.bucket_quota.max_objects>-1)}),(function(l,n){var u=n.component,t=e["ɵunv"](n,9,0,l(n,10,0,e["ɵnov"](n.parent.parent.parent,0),u.user.bucket_quota.enabled));l(n,9,0,t)}))}function Tn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,40,"div",[],null,null,null,null,null)),(l()(),e["ɵeld"](1,0,null,null,35,"table",[["class","table table-striped table-bordered"]],null,null,null,null,null)),(l()(),e["ɵeld"](2,0,null,null,34,"tbody",[],null,null,null,null,null)),(l()(),e["ɵeld"](3,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](4,0,null,null,1,"td",[["class","bold w-25"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Username"])),(l()(),e["ɵeld"](6,0,null,null,1,"td",[["class","w-75"]],null,null,null,null,null)),(l()(),e["ɵted"](7,null,["",""])),(l()(),e["ɵeld"](8,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](9,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Full name"])),(l()(),e["ɵeld"](11,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](12,null,["",""])),(l()(),e["ɵand"](16777216,null,null,1,null,rn)),e["ɵdid"](14,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](15,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](16,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Suspended"])),(l()(),e["ɵeld"](18,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](19,null,["",""])),e["ɵppd"](20,1),(l()(),e["ɵeld"](21,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](22,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["System"])),(l()(),e["ɵeld"](24,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](25,null,["",""])),e["ɵppd"](26,1),(l()(),e["ɵeld"](27,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),e["ɵeld"](28,0,null,null,1,"td",[["class","bold"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Maximum buckets"])),(l()(),e["ɵeld"](30,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),e["ɵted"](31,null,["",""])),e["ɵppd"](32,2),(l()(),e["ɵand"](16777216,null,null,1,null,mn)),e["ɵdid"](34,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,pn)),e["ɵdid"](36,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,kn)),e["ɵdid"](38,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,qn)),e["ɵdid"](40,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,14,0,null==u.user.email?null:u.user.email.length),l(n,34,0,u.user.subusers&&u.user.subusers.length),l(n,36,0,u.user.caps&&u.user.caps.length),l(n,38,0,u.user.user_quota),l(n,40,0,u.user.bucket_quota)}),(function(l,n){var u=n.component;l(n,7,0,u.user.uid),l(n,12,0,u.user.display_name);var t=e["ɵunv"](n,19,0,l(n,20,0,e["ɵnov"](n.parent.parent,0),u.user.suspended));l(n,19,0,t);var i=e["ɵunv"](n,25,0,l(n,26,0,e["ɵnov"](n.parent.parent,0),"true"===u.user.system));l(n,25,0,i);var a=e["ɵunv"](n,31,0,l(n,32,0,e["ɵnov"](n.parent.parent,1),u.user.max_buckets,u.maxBucketsMap));l(n,31,0,a)}))}function Vn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,14,"tab",[["heading","Keys"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),e["ɵdid"](1,212992,null,0,Cl.b,[Cl.e,e.ElementRef,e.Renderer2],{heading:[0,"heading"]},null),(l()(),e["ɵeld"](2,0,null,null,12,"cd-table",[["columnMode","flex"],["forceIdentifier","true"],["selectionType","multi"]],null,[[null,"updateSelection"]],(function(l,n,u){var e=!0;return"updateSelection"===n&&(e=!1!==l.component.updateKeysSelection(u)&&e),e}),nn.b,nn.a)),e["ɵdid"](3,2867200,null,0,S.a,[e.NgZone,e.ChangeDetectorRef],{data:[0,"data"],columns:[1,"columns"],columnMode:[2,"columnMode"],forceIdentifier:[3,"forceIdentifier"],selectionType:[4,"selectionType"]},{updateSelection:"updateSelection"}),(l()(),e["ɵeld"](4,0,null,1,10,"div",[["class","table-actions"]],null,null,null,null,null)),(l()(),e["ɵeld"](5,16777216,null,null,9,"div",[["class","btn-group"],["dropdown",""]],[[2,"dropup",null],[2,"open",null],[2,"show",null]],null,null,null,null)),e["ɵprd"](512,null,un.f,un.f,[]),e["ɵdid"](7,212992,null,0,un.c,[e.ElementRef,e.Renderer2,e.ViewContainerRef,en.a,un.a,un.f],null,null),(l()(),e["ɵeld"](8,0,null,null,6,"button",[["class","btn btn-secondary"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],(function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showKeyModal()&&e),e}),null,null)),(l()(),e["ɵeld"](9,0,null,null,3,"i",[],null,null,null,null,null)),e["ɵprd"](512,null,xl["ɵNgClassImpl"],xl["ɵNgClassR2Impl"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid"](11,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl"]],{ngClass:[0,"ngClass"]},null),e["ɵpad"](12,1),(l()(),e["ɵeld"](13,0,null,null,1,null,null,null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Show"]))],(function(l,n){var u=n.component;l(n,1,0,"Keys"),l(n,3,0,u.keys,u.keysColumns,"flex","true","multi"),l(n,7,0);var e=l(n,12,0,u.icons.show);l(n,11,0,e)}),(function(l,n){var u=n.component;l(n,0,0,e["ɵnov"](n,1).id,e["ɵnov"](n,1).active,e["ɵnov"](n,1).addClass),l(n,5,0,e["ɵnov"](n,7).dropup,e["ɵnov"](n,7).isOpen,e["ɵnov"](n,7).isOpen&&e["ɵnov"](n,7).isBs4),l(n,8,0,!u.keysSelection.hasSingleSelection)}))}function Sn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,7,"tabset",[],[[2,"tab-container",null]],null,null,wl.b,wl.a)),e["ɵdid"](1,180224,null,0,Cl.e,[Cl.f,e.Renderer2,e.ElementRef],null,null),(l()(),e["ɵeld"](2,0,null,0,3,"tab",[["heading","Details"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),e["ɵdid"](3,212992,null,0,Cl.b,[Cl.e,e.ElementRef,e.Renderer2],{heading:[0,"heading"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,Tn)),e["ɵdid"](5,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,0,1,null,Vn)),e["ɵdid"](7,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,3,0,"Details"),l(n,5,0,u.user),l(n,7,0,u.keys.length)}),(function(l,n){l(n,0,0,e["ɵnov"](n,1).clazz),l(n,2,0,e["ɵnov"](n,3).id,e["ɵnov"](n,3).active,e["ɵnov"](n,3).addClass)}))}function xn(l){return e["ɵvid"](0,[e["ɵpid"](0,Ol.a,[Il.a]),e["ɵpid"](0,tn.a,[]),e["ɵpid"](0,an.a,[U.a]),e["ɵqud"](671088640,1,{accessKeyTpl:0}),e["ɵqud"](671088640,2,{secretKeyTpl:0}),(l()(),e["ɵand"](16777216,null,null,1,null,Sn)),e["ɵdid"](6,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,6,0,n.component.selection.hasSingleSelection)}),null)}function Dn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"cd-rgw-user-details",[],null,null,null,xn,dn)),e["ɵdid"](1,638976,null,0,on,[_.a,sn.b,Il.a],null,null)],(function(l,n){l(n,1,0)}),null)}var Fn=e["ɵccf"]("cd-rgw-user-details",on,Dn,{selection:"selection"},{},[]),jn=u("8xTl"),Bn=u("ajRT"),An=u("mXUL"),Pn=u("+gVj"),Mn=u("D4zM"),On=u("OcYo"),Un=u("EApP"),Ln=u("KVJa"),zn=u("Z21x"),Gn=e["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Kn(l){return e["ɵvid"](0,[e["ɵpid"](0,xl.TitleCasePipe,[]),e["ɵpid"](0,jn.a,[]),(l()(),e["ɵeld"](2,0,null,null,49,"cd-modal",[],null,null,null,fl.c,fl.b)),e["ɵdid"](3,49152,null,0,Bn.a,[],{modalRef:[0,"modalRef"]},null),(l()(),e["ɵeld"](4,0,null,0,3,null,null,null,null,null,null,null)),(l()(),e["ɵted"](5,null,[""," "," "])),e["ɵppd"](6,1),e["ɵppd"](7,1),(l()(),e["ɵeld"](8,0,null,1,43,null,null,null,null,null,null,null)),(l()(),e["ɵeld"](9,0,null,null,39,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),e["ɵeld"](10,0,null,null,38,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(l,n,u){var t=!0;return"submit"===n&&(t=!1!==e["ɵnov"](l,12).onSubmit(u)&&t),"reset"===n&&(t=!1!==e["ɵnov"](l,12).onReset()&&t),t}),null,null)),e["ɵdid"](11,16384,null,0,d.G,[],null,null),e["ɵdid"](12,4210688,null,0,d.t,[[8,null],[8,null]],null,null),e["ɵprd"](2048,null,d.d,null,[d.t]),e["ɵdid"](14,16384,null,0,d.s,[[4,d.d]],null,null),(l()(),e["ɵeld"](15,0,null,null,13,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](16,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,1,{FormControlNames:1}),e["ɵqud"](603979776,2,{messagesBlock:0}),(l()(),e["ɵeld"](19,0,null,0,1,"label",[["class","cd-col-form-label"],["for","user"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Username"])),(l()(),e["ɵeld"](21,0,null,0,7,"div",[["class","cd-col-form-inpu"]],null,null,null,null,null)),(l()(),e["ɵeld"](22,0,null,null,6,"input",[["class","form-control"],["id","user"],["name","user"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0,i=l.component;return"input"===n&&(t=!1!==e["ɵnov"](l,23)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,23).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,23)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,23)._compositionEnd(u.target.value)&&t),"ngModelChange"===n&&(t=!1!==(i.user=u)&&t),t}),null,null)),e["ɵdid"](23,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](25,671744,null,0,d.u,[[2,d.d],[8,null],[8,null],[6,d.p]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),e["ɵprd"](2048,null,d.q,null,[d.u]),e["ɵdid"](27,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](28,16384,null,0,Pn.h,[[3,d.d],Pn.a],null,null),(l()(),e["ɵeld"](29,0,null,null,19,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](30,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,3,{FormControlNames:1}),e["ɵqud"](603979776,4,{messagesBlock:0}),(l()(),e["ɵeld"](33,0,null,0,1,"label",[["class","cd-col-form-label"],["for","secret_key"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Secret key"])),(l()(),e["ɵeld"](35,0,null,0,13,"div",[["class","cd-col-form-inpu"]],null,null,null,null,null)),(l()(),e["ɵeld"](36,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),e["ɵeld"](37,0,null,null,6,"input",[["class","form-control"],["id","secret_key"],["name","secret_key"],["type","password"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0,i=l.component;return"input"===n&&(t=!1!==e["ɵnov"](l,38)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,38).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,38)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,38)._compositionEnd(u.target.value)&&t),"ngModelChange"===n&&(t=!1!==(i.secret_key=u)&&t),t}),null,null)),e["ɵdid"](38,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](40,671744,null,0,d.u,[[2,d.d],[8,null],[8,null],[6,d.p]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),e["ɵprd"](2048,null,d.q,null,[d.u]),e["ɵdid"](42,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](43,16384,null,0,Pn.h,[[3,d.d],Pn.a],null,null),(l()(),e["ɵeld"](44,0,null,null,4,"span",[["class","input-group-append"]],null,null,null,null,null)),(l()(),e["ɵeld"](45,0,null,null,1,"button",[["cdPasswordButton","secret_key"],["class","btn btn-light"],["type","button"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==e["ɵnov"](l,46).onClick()&&t),t}),null,null)),e["ɵdid"](46,81920,null,0,Mn.a,[e.ElementRef,e.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),e["ɵeld"](47,0,null,null,1,"button",[["cdCopy2ClipboardButton","secret_key"],["class","btn btn-light"],["type","button"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==e["ɵnov"](l,48).onClick()&&t),t}),null,null)),e["ɵdid"](48,81920,null,0,On.a,[e.ElementRef,e.Renderer2,Un.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),e["ɵeld"](49,0,null,null,2,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),e["ɵeld"](50,0,null,null,1,"cd-back-button",[],null,null,null,Ln.b,Ln.a)),e["ɵdid"](51,49152,null,0,zn.a,[xl.Location,t.b],{back:[0,"back"]},null)],(function(l,n){var u=n.component;l(n,3,0,u.bsModalRef),l(n,16,0),l(n,25,0,"user",u.user),l(n,30,0),l(n,40,0,"secret_key",u.secret_key),l(n,46,0,"secret_key"),l(n,48,0,"secret_key"),l(n,51,0,u.bsModalRef.hide)}),(function(l,n){var u=n.component,t=e["ɵunv"](n,5,0,l(n,6,0,e["ɵnov"](n,0),u.action)),i=e["ɵunv"](n,5,1,l(n,7,0,e["ɵnov"](n,1),u.resource));l(n,5,0,t,i),l(n,10,0,e["ɵnov"](n,14).ngClassUntouched,e["ɵnov"](n,14).ngClassTouched,e["ɵnov"](n,14).ngClassPristine,e["ɵnov"](n,14).ngClassDirty,e["ɵnov"](n,14).ngClassValid,e["ɵnov"](n,14).ngClassInvalid,e["ɵnov"](n,14).ngClassPending),l(n,15,0,e["ɵnov"](n,16).hasErrors,e["ɵnov"](n,16).hasSuccess),l(n,22,0,!0,e["ɵnov"](n,27).ngClassUntouched,e["ɵnov"](n,27).ngClassTouched,e["ɵnov"](n,27).ngClassPristine,e["ɵnov"](n,27).ngClassDirty,e["ɵnov"](n,27).ngClassValid,e["ɵnov"](n,27).ngClassInvalid,e["ɵnov"](n,27).ngClassPending,e["ɵnov"](n,28).validClass,e["ɵnov"](n,28).invalidClass),l(n,29,0,e["ɵnov"](n,30).hasErrors,e["ɵnov"](n,30).hasSuccess),l(n,37,0,!0,e["ɵnov"](n,42).ngClassUntouched,e["ɵnov"](n,42).ngClassTouched,e["ɵnov"](n,42).ngClassPristine,e["ɵnov"](n,42).ngClassDirty,e["ɵnov"](n,42).ngClassValid,e["ɵnov"](n,42).ngClassInvalid,e["ɵnov"](n,42).ngClassPending,e["ɵnov"](n,43).validClass,e["ɵnov"](n,43).invalidClass)}))}function $n(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"cd-rgw-user-swift-key-modal",[],null,null,null,Kn,Gn)),e["ɵdid"](1,49152,null,0,H,[sn.a,Il.a,t.b],null,null)],null,null)}var Zn=e["ɵccf"]("cd-rgw-user-swift-key-modal",H,$n,{},{},[]),Hn=u("IZUe"),Qn=u("gp3X"),Yn=u("sb0X"),Wn=e["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Jn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,6,"input",[["class","form-control"],["formControlName","user"],["id","user"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0;return"input"===n&&(t=!1!==e["ɵnov"](l,1)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,1).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,1)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,1)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid"](1,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](3,671744,[[1,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](5,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](6,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null)],(function(l,n){l(n,3,0,"user"),l(n,6,0,"user")}),(function(l,n){l(n,0,0,!0,e["ɵnov"](n,5).ngClassUntouched,e["ɵnov"](n,5).ngClassTouched,e["ɵnov"](n,5).ngClassPristine,e["ɵnov"](n,5).ngClassDirty,e["ɵnov"](n,5).ngClassValid,e["ɵnov"](n,5).ngClassInvalid,e["ɵnov"](n,5).ngClassPending,e["ɵnov"](n,6).validClass,e["ɵnov"](n,6).invalidClass)}))}function Xn(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),e["ɵdid"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{ngValue:[0,"ngValue"]},null),e["ɵdid"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),e["ɵted"](-1,null,["-- Select a username --"]))],(function(l,n){l(n,1,0,null),l(n,2,0,null)}),null)}function lu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),e["ɵdid"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value"]},null),e["ɵdid"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),e["ɵted"](3,null,["",""]))],(function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)}),(function(l,n){l(n,3,0,n.context.$implicit)}))}function nu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,11,"select",[["autofocus",""],["class","form-control custom-select"],["formControlName","user"],["id","user"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"change"],[null,"blur"]],(function(l,n,u){var t=!0;return"change"===n&&(t=!1!==e["ɵnov"](l,2).onChange(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,2).onTouched()&&t),t}),null,null)),e["ɵdid"](1,4210688,null,0,Hn.a,[e.ElementRef],{autofocus:[0,"autofocus"]},null),e["ɵdid"](2,16384,null,0,d.A,[e.Renderer2,e.ElementRef],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.A]),e["ɵdid"](4,671744,[[1,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](6,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](7,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,Xn)),e["ɵdid"](9,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,lu)),e["ɵdid"](11,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){var u=n.component;l(n,1,0,""),l(n,4,0,"user"),l(n,7,0,"user"),l(n,9,0,null!==u.userCandidates),l(n,11,0,u.userCandidates)}),(function(l,n){l(n,0,0,e["ɵnov"](n,6).ngClassUntouched,e["ɵnov"](n,6).ngClassTouched,e["ɵnov"](n,6).ngClassPristine,e["ɵnov"](n,6).ngClassDirty,e["ɵnov"](n,6).ngClassValid,e["ɵnov"](n,6).ngClassInvalid,e["ɵnov"](n,6).ngClassPending,e["ɵnov"](n,7).validClass,e["ɵnov"](n,7).invalidClass)}))}function uu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["This field is required."]))],null,null)}function eu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,14,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,3,{FormControlNames:1}),e["ɵqud"](603979776,4,{messagesBlock:0}),(l()(),e["ɵeld"](4,0,null,0,10,"div",[["class","cd-col-form-offset"]],null,null,null,null,null)),(l()(),e["ɵeld"](5,0,null,null,9,"div",[["class","custom-control custom-checkbox"]],null,null,null,null,null)),(l()(),e["ɵeld"](6,0,null,null,6,"input",[["class","custom-control-input"],["formControlName","generate_key"],["id","generate_key"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"change"],[null,"blur"]],(function(l,n,u){var t=!0;return"change"===n&&(t=!1!==e["ɵnov"](l,7).onChange(u.target.checked)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,7).onTouched()&&t),t}),null,null)),e["ɵdid"](7,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid"](9,671744,[[3,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](11,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](12,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵeld"](13,0,null,null,1,"label",[["class","custom-control-label"],["for","generate_key"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Auto-generate key"]))],(function(l,n){l(n,1,0),l(n,9,0,"generate_key"),l(n,12,0,"generate_key")}),(function(l,n){l(n,0,0,e["ɵnov"](n,1).hasErrors,e["ɵnov"](n,1).hasSuccess),l(n,6,0,e["ɵnov"](n,11).ngClassUntouched,e["ɵnov"](n,11).ngClassTouched,e["ɵnov"](n,11).ngClassPristine,e["ɵnov"](n,11).ngClassDirty,e["ɵnov"](n,11).ngClassValid,e["ɵnov"](n,11).ngClassInvalid,e["ɵnov"](n,11).ngClassPending,e["ɵnov"](n,12).validClass,e["ɵnov"](n,12).invalidClass)}))}function tu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["This field is required."]))],null,null)}function iu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,24,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,5,{FormControlNames:1}),e["ɵqud"](603979776,6,{messagesBlock:0}),(l()(),e["ɵeld"](4,0,null,0,4,"label",[["class","cd-col-form-label"],["for","access_key"]],null,null,null,null,null)),e["ɵprd"](512,null,xl["ɵNgClassImpl"],xl["ɵNgClassR2Impl"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid"](6,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),e["ɵpod"](7,{required:0}),(l()(),e["ɵted"](-1,null,["Access key"])),(l()(),e["ɵeld"](9,0,null,0,15,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵeld"](10,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),e["ɵeld"](11,0,null,null,6,"input",[["class","form-control"],["formControlName","access_key"],["id","access_key"],["type","password"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0;return"input"===n&&(t=!1!==e["ɵnov"](l,12)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,12).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,12)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,12)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid"](12,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](14,671744,[[5,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](16,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](17,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵeld"](18,0,null,null,4,"span",[["class","input-group-append"]],null,null,null,null,null)),(l()(),e["ɵeld"](19,0,null,null,1,"button",[["cdPasswordButton","access_key"],["class","btn btn-light"],["type","button"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==e["ɵnov"](l,20).onClick()&&t),t}),null,null)),e["ɵdid"](20,81920,null,0,Mn.a,[e.ElementRef,e.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),e["ɵeld"](21,0,null,null,1,"button",[["cdCopy2ClipboardButton","access_key"],["class","btn btn-light"],["type","button"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==e["ɵnov"](l,22).onClick()&&t),t}),null,null)),e["ɵdid"](22,81920,null,0,On.a,[e.ElementRef,e.Renderer2,Un.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,tu)),e["ɵdid"](24,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,1,0);var t=l(n,7,0,!u.viewing);l(n,6,0,"cd-col-form-label",t),l(n,14,0,"access_key"),l(n,17,0,"access_key"),l(n,20,0,"access_key"),l(n,22,0,"access_key"),l(n,24,0,u.formGroup.showError("access_key",e["ɵnov"](n.parent,11),"required"))}),(function(l,n){var u=n.component;l(n,0,0,e["ɵnov"](n,1).hasErrors,e["ɵnov"](n,1).hasSuccess),l(n,11,0,u.viewing,e["ɵnov"](n,16).ngClassUntouched,e["ɵnov"](n,16).ngClassTouched,e["ɵnov"](n,16).ngClassPristine,e["ɵnov"](n,16).ngClassDirty,e["ɵnov"](n,16).ngClassValid,e["ɵnov"](n,16).ngClassInvalid,e["ɵnov"](n,16).ngClassPending,e["ɵnov"](n,17).validClass,e["ɵnov"](n,17).invalidClass)}))}function au(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["This field is required."]))],null,null)}function ou(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,24,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,7,{FormControlNames:1}),e["ɵqud"](603979776,8,{messagesBlock:0}),(l()(),e["ɵeld"](4,0,null,0,4,"label",[["class","cd-col-form-label"],["for","secret_key"]],null,null,null,null,null)),e["ɵprd"](512,null,xl["ɵNgClassImpl"],xl["ɵNgClassR2Impl"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid"](6,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),e["ɵpod"](7,{required:0}),(l()(),e["ɵted"](-1,null,["Secret key"])),(l()(),e["ɵeld"](9,0,null,0,15,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵeld"](10,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),e["ɵeld"](11,0,null,null,6,"input",[["class","form-control"],["formControlName","secret_key"],["id","secret_key"],["type","password"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0;return"input"===n&&(t=!1!==e["ɵnov"](l,12)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,12).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,12)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,12)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid"](12,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](14,671744,[[7,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](16,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](17,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵeld"](18,0,null,null,4,"span",[["class","input-group-append"]],null,null,null,null,null)),(l()(),e["ɵeld"](19,0,null,null,1,"button",[["cdPasswordButton","secret_key"],["class","btn btn-light"],["type","button"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==e["ɵnov"](l,20).onClick()&&t),t}),null,null)),e["ɵdid"](20,81920,null,0,Mn.a,[e.ElementRef,e.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),e["ɵeld"](21,0,null,null,1,"button",[["cdCopy2ClipboardButton","secret_key"],["class","btn btn-light"],["type","button"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==e["ɵnov"](l,22).onClick()&&t),t}),null,null)),e["ɵdid"](22,81920,null,0,On.a,[e.ElementRef,e.Renderer2,Un.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,au)),e["ɵdid"](24,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,1,0);var t=l(n,7,0,!u.viewing);l(n,6,0,"cd-col-form-label",t),l(n,14,0,"secret_key"),l(n,17,0,"secret_key"),l(n,20,0,"secret_key"),l(n,22,0,"secret_key"),l(n,24,0,u.formGroup.showError("secret_key",e["ɵnov"](n.parent,11),"required"))}),(function(l,n){var u=n.component;l(n,0,0,e["ɵnov"](n,1).hasErrors,e["ɵnov"](n,1).hasSuccess),l(n,11,0,u.viewing,e["ɵnov"](n,16).ngClassUntouched,e["ɵnov"](n,16).ngClassTouched,e["ɵnov"](n,16).ngClassPristine,e["ɵnov"](n,16).ngClassDirty,e["ɵnov"](n,16).ngClassValid,e["ɵnov"](n,16).ngClassInvalid,e["ɵnov"](n,16).ngClassPending,e["ɵnov"](n,17).validClass,e["ɵnov"](n,17).invalidClass)}))}function su(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,4,"cd-submit-button",[],null,[[null,"submitAction"]],(function(l,n,u){var e=!0;return"submitAction"===n&&(e=!1!==l.component.onSubmit()&&e),e}),Qn.b,Qn.a)),e["ɵdid"](1,114688,null,0,Yn.a,[e.ElementRef],{form:[0,"form"]},{submitAction:"submitAction"}),(l()(),e["ɵted"](2,0,[""," ",""])),e["ɵppd"](3,1),e["ɵppd"](4,1)],(function(l,n){l(n,1,0,n.component.formGroup)}),(function(l,n){var u=n.component,t=e["ɵunv"](n,2,0,l(n,3,0,e["ɵnov"](n.parent,0),u.action)),i=e["ɵunv"](n,2,1,l(n,4,0,e["ɵnov"](n.parent,1),u.resource));l(n,2,0,t,i)}))}function du(l){return e["ɵvid"](0,[e["ɵpid"](0,xl.TitleCasePipe,[]),e["ɵpid"](0,jn.a,[]),(l()(),e["ɵeld"](2,0,null,null,40,"cd-modal",[],null,null,null,fl.c,fl.b)),e["ɵdid"](3,49152,null,0,Bn.a,[],{modalRef:[0,"modalRef"]},null),(l()(),e["ɵeld"](4,0,null,0,3,null,null,null,null,null,null,null)),(l()(),e["ɵted"](5,null,[""," ",""])),e["ɵppd"](6,1),e["ɵppd"](7,1),(l()(),e["ɵeld"](8,0,null,1,34,null,null,null,null,null,null,null)),(l()(),e["ɵeld"](9,0,null,null,33,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(l,n,u){var t=!0;return"submit"===n&&(t=!1!==e["ɵnov"](l,11).onSubmit(u)&&t),"reset"===n&&(t=!1!==e["ɵnov"](l,11).onReset()&&t),"submit"===n&&(t=!1!==e["ɵnov"](l,14).onSubmit()&&t),t}),null,null)),e["ɵdid"](10,16384,null,0,d.G,[],null,null),e["ɵdid"](11,540672,[["frm",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form"]},null),e["ɵprd"](2048,null,d.d,null,[d.l]),e["ɵdid"](13,16384,null,0,d.s,[[4,d.d]],null,null),e["ɵdid"](14,16384,null,0,Pn.d,[],{formGroup:[0,"formGroup"]},null),(l()(),e["ɵeld"](15,0,null,null,22,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),e["ɵeld"](16,0,null,null,15,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](17,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,1,{FormControlNames:1}),e["ɵqud"](603979776,2,{messagesBlock:0}),(l()(),e["ɵeld"](20,0,null,0,4,"label",[["class","cd-col-form-label"],["for","user"]],null,null,null,null,null)),e["ɵprd"](512,null,xl["ɵNgClassImpl"],xl["ɵNgClassR2Impl"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid"](22,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),e["ɵpod"](23,{required:0}),(l()(),e["ɵted"](-1,null,["Username"])),(l()(),e["ɵeld"](25,0,null,0,6,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵand"](16777216,null,null,1,null,Jn)),e["ɵdid"](27,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,nu)),e["ɵdid"](29,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,uu)),e["ɵdid"](31,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,eu)),e["ɵdid"](33,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,iu)),e["ɵdid"](35,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,ou)),e["ɵdid"](37,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](38,0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),e["ɵand"](16777216,null,null,1,null,su)),e["ɵdid"](40,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](41,0,null,null,1,"cd-back-button",[],null,null,null,Ln.b,Ln.a)),e["ɵdid"](42,49152,null,0,zn.a,[xl.Location,t.b],{back:[0,"back"]},null)],(function(l,n){var u=n.component;l(n,3,0,u.bsModalRef),l(n,11,0,u.formGroup),l(n,14,0,u.formGroup),l(n,17,0);var t=l(n,23,0,!u.viewing);l(n,22,0,"cd-col-form-label",t),l(n,27,0,u.viewing),l(n,29,0,!u.viewing),l(n,31,0,u.formGroup.showError("user",e["ɵnov"](n,11),"required")),l(n,33,0,!u.viewing),l(n,35,0,!u.formGroup.getValue("generate_key")),l(n,37,0,!u.formGroup.getValue("generate_key")),l(n,40,0,!u.viewing),l(n,42,0,u.bsModalRef.hide)}),(function(l,n){var u=n.component,t=e["ɵunv"](n,5,0,l(n,6,0,e["ɵnov"](n,0),u.action)),i=e["ɵunv"](n,5,1,l(n,7,0,e["ɵnov"](n,1),u.resource));l(n,5,0,t,i),l(n,9,0,e["ɵnov"](n,13).ngClassUntouched,e["ɵnov"](n,13).ngClassTouched,e["ɵnov"](n,13).ngClassPristine,e["ɵnov"](n,13).ngClassDirty,e["ɵnov"](n,13).ngClassValid,e["ɵnov"](n,13).ngClassInvalid,e["ɵnov"](n,13).ngClassPending),l(n,16,0,e["ɵnov"](n,17).hasErrors,e["ɵnov"](n,17).hasSuccess)}))}function ru(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"cd-rgw-user-s3-key-modal",[],null,null,null,du,Wn)),e["ɵdid"](1,49152,null,0,K,[R.a,sn.a,Il.a,t.b],null,null)],null,null)}var cu=e["ɵccf"]("cd-rgw-user-s3-key-modal",K,ru,{},{submitAction:"submitAction"},[]),mu=e["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function gu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,6,"input",[["class","form-control"],["formControlName","type"],["id","type"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0;return"input"===n&&(t=!1!==e["ɵnov"](l,1)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,1).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,1)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,1)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid"](1,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](3,671744,[[1,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](5,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](6,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null)],(function(l,n){l(n,3,0,"type"),l(n,6,0,"type")}),(function(l,n){l(n,0,0,!0,e["ɵnov"](n,5).ngClassUntouched,e["ɵnov"](n,5).ngClassTouched,e["ɵnov"](n,5).ngClassPristine,e["ɵnov"](n,5).ngClassDirty,e["ɵnov"](n,5).ngClassValid,e["ɵnov"](n,5).ngClassInvalid,e["ɵnov"](n,5).ngClassPending,e["ɵnov"](n,6).validClass,e["ɵnov"](n,6).invalidClass)}))}function pu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),e["ɵdid"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{ngValue:[0,"ngValue"]},null),e["ɵdid"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),e["ɵted"](-1,null,["-- Select a type --"]))],(function(l,n){l(n,1,0,null),l(n,2,0,null)}),null)}function fu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),e["ɵdid"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value"]},null),e["ɵdid"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),e["ɵted"](3,null,["",""]))],(function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)}),(function(l,n){l(n,3,0,n.context.$implicit)}))}function vu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,11,"select",[["autofocus",""],["class","form-control custom-select"],["formControlName","type"],["id","type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"change"],[null,"blur"]],(function(l,n,u){var t=!0;return"change"===n&&(t=!1!==e["ɵnov"](l,2).onChange(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,2).onTouched()&&t),t}),null,null)),e["ɵdid"](1,4210688,null,0,Hn.a,[e.ElementRef],{autofocus:[0,"autofocus"]},null),e["ɵdid"](2,16384,null,0,d.A,[e.Renderer2,e.ElementRef],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.A]),e["ɵdid"](4,671744,[[1,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](6,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](7,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,pu)),e["ɵdid"](9,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,fu)),e["ɵdid"](11,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){var u=n.component;l(n,1,0,""),l(n,4,0,"type"),l(n,7,0,"type"),l(n,9,0,null!==u.types),l(n,11,0,u.types)}),(function(l,n){l(n,0,0,e["ɵnov"](n,6).ngClassUntouched,e["ɵnov"](n,6).ngClassTouched,e["ɵnov"](n,6).ngClassPristine,e["ɵnov"](n,6).ngClassDirty,e["ɵnov"](n,6).ngClassValid,e["ɵnov"](n,6).ngClassInvalid,e["ɵnov"](n,6).ngClassPending,e["ɵnov"](n,7).validClass,e["ɵnov"](n,7).invalidClass)}))}function bu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["This field is required."]))],null,null)}function hu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),e["ɵdid"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value"]},null),e["ɵdid"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),e["ɵted"](3,null,[" "," "]))],(function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)}),(function(l,n){l(n,3,0,n.context.$implicit)}))}function Cu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["This field is required."]))],null,null)}function _u(l){return e["ɵvid"](0,[e["ɵpid"](0,xl.TitleCasePipe,[]),e["ɵpid"](0,jn.a,[]),(l()(),e["ɵeld"](2,0,null,null,60,"cd-modal",[],null,null,null,fl.c,fl.b)),e["ɵdid"](3,49152,null,0,Bn.a,[],{modalRef:[0,"modalRef"]},null),(l()(),e["ɵeld"](4,0,null,0,3,null,null,null,null,null,null,null)),(l()(),e["ɵted"](5,null,[""," ",""])),e["ɵppd"](6,1),e["ɵppd"](7,1),(l()(),e["ɵeld"](8,0,null,1,54,null,null,null,null,null,null,null)),(l()(),e["ɵeld"](9,0,null,null,53,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(l,n,u){var t=!0;return"submit"===n&&(t=!1!==e["ɵnov"](l,11).onSubmit(u)&&t),"reset"===n&&(t=!1!==e["ɵnov"](l,11).onReset()&&t),"submit"===n&&(t=!1!==e["ɵnov"](l,14).onSubmit()&&t),t}),null,null)),e["ɵdid"](10,16384,null,0,d.G,[],null,null),e["ɵdid"](11,540672,[["frm",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form"]},null),e["ɵprd"](2048,null,d.d,null,[d.l]),e["ɵdid"](13,16384,null,0,d.s,[[4,d.d]],null,null),e["ɵdid"](14,16384,null,0,Pn.d,[],{formGroup:[0,"formGroup"]},null),(l()(),e["ɵeld"](15,0,null,null,39,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),e["ɵeld"](16,0,null,null,15,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](17,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,1,{FormControlNames:1}),e["ɵqud"](603979776,2,{messagesBlock:0}),(l()(),e["ɵeld"](20,0,null,0,4,"label",[["class","cd-col-form-label"],["for","type"]],null,null,null,null,null)),e["ɵprd"](512,null,xl["ɵNgClassImpl"],xl["ɵNgClassR2Impl"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid"](22,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),e["ɵpod"](23,{required:0}),(l()(),e["ɵted"](-1,null,["Type"])),(l()(),e["ɵeld"](25,0,null,0,6,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵand"](16777216,null,null,1,null,gu)),e["ɵdid"](27,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,vu)),e["ɵdid"](29,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,bu)),e["ɵdid"](31,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](32,0,null,null,22,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](33,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,3,{FormControlNames:1}),e["ɵqud"](603979776,4,{messagesBlock:0}),(l()(),e["ɵeld"](36,0,null,0,1,"label",[["class","cd-col-form-label required"],["for","perm"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Permission"])),(l()(),e["ɵeld"](38,0,null,0,16,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵeld"](39,0,null,null,13,"select",[["class","form-control custom-select"],["formControlName","perm"],["id","perm"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"change"],[null,"blur"]],(function(l,n,u){var t=!0;return"change"===n&&(t=!1!==e["ɵnov"](l,40).onChange(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,40).onTouched()&&t),t}),null,null)),e["ɵdid"](40,16384,null,0,d.A,[e.Renderer2,e.ElementRef],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.A]),e["ɵdid"](42,671744,[[3,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](44,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](45,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵeld"](46,0,null,null,3,"option",[],null,null,null,null,null)),e["ɵdid"](47,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{ngValue:[0,"ngValue"]},null),e["ɵdid"](48,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),e["ɵted"](-1,null,["-- Select a permission --"])),(l()(),e["ɵand"](16777216,null,null,2,null,hu)),e["ɵdid"](51,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),e["ɵpad"](52,3),(l()(),e["ɵand"](16777216,null,null,1,null,Cu)),e["ɵdid"](54,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](55,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),e["ɵeld"](56,0,null,null,4,"cd-submit-button",[],null,[[null,"submitAction"]],(function(l,n,u){var e=!0;return"submitAction"===n&&(e=!1!==l.component.onSubmit()&&e),e}),Qn.b,Qn.a)),e["ɵdid"](57,114688,null,0,Yn.a,[e.ElementRef],{form:[0,"form"]},{submitAction:"submitAction"}),(l()(),e["ɵted"](58,0,[""," ",""])),e["ɵppd"](59,1),e["ɵppd"](60,1),(l()(),e["ɵeld"](61,0,null,null,1,"cd-back-button",[],null,null,null,Ln.b,Ln.a)),e["ɵdid"](62,49152,null,0,zn.a,[xl.Location,t.b],{back:[0,"back"]},null)],(function(l,n){var u=n.component;l(n,3,0,u.bsModalRef),l(n,11,0,u.formGroup),l(n,14,0,u.formGroup),l(n,17,0);var t=l(n,23,0,!u.editing);l(n,22,0,"cd-col-form-label",t),l(n,27,0,u.editing),l(n,29,0,!u.editing),l(n,31,0,u.formGroup.showError("type",e["ɵnov"](n,11),"required")),l(n,33,0),l(n,42,0,"perm"),l(n,45,0,"perm"),l(n,47,0,null),l(n,48,0,null);var i=l(n,52,0,"read","write","*");l(n,51,0,i),l(n,54,0,u.formGroup.showError("perm",e["ɵnov"](n,11),"required")),l(n,57,0,u.formGroup),l(n,62,0,u.bsModalRef.hide)}),(function(l,n){var u=n.component,t=e["ɵunv"](n,5,0,l(n,6,0,e["ɵnov"](n,0),u.action)),i=e["ɵunv"](n,5,1,l(n,7,0,e["ɵnov"](n,1),u.resource));l(n,5,0,t,i),l(n,9,0,e["ɵnov"](n,13).ngClassUntouched,e["ɵnov"](n,13).ngClassTouched,e["ɵnov"](n,13).ngClassPristine,e["ɵnov"](n,13).ngClassDirty,e["ɵnov"](n,13).ngClassValid,e["ɵnov"](n,13).ngClassInvalid,e["ɵnov"](n,13).ngClassPending),l(n,16,0,e["ɵnov"](n,17).hasErrors,e["ɵnov"](n,17).hasSuccess),l(n,32,0,e["ɵnov"](n,33).hasErrors,e["ɵnov"](n,33).hasSuccess),l(n,39,0,e["ɵnov"](n,44).ngClassUntouched,e["ɵnov"](n,44).ngClassTouched,e["ɵnov"](n,44).ngClassPristine,e["ɵnov"](n,44).ngClassDirty,e["ɵnov"](n,44).ngClassValid,e["ɵnov"](n,44).ngClassInvalid,e["ɵnov"](n,44).ngClassPending,e["ɵnov"](n,45).validClass,e["ɵnov"](n,45).invalidClass);var a=e["ɵunv"](n,58,0,l(n,59,0,e["ɵnov"](n,0),u.action)),o=e["ɵunv"](n,58,1,l(n,60,0,e["ɵnov"](n,1),u.resource));l(n,58,0,a,o)}))}function ku(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"cd-rgw-user-capability-modal",[],null,null,null,_u,mu)),e["ɵdid"](1,49152,null,0,G,[R.a,sn.a,Il.a,t.b],null,null)],null,null)}var yu=e["ɵccf"]("cd-rgw-user-capability-modal",G,ku,{},{submitAction:"submitAction"},[]),Ru=e["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function Iu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["This field is required."]))],null,null)}function wu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["The chosen subuser ID is already in use."]))],null,null)}function Eu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),e["ɵdid"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value"]},null),e["ɵdid"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),e["ɵted"](3,null,[" "," "]))],(function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)}),(function(l,n){l(n,3,0,n.context.$implicit)}))}function Nu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["This field is required."]))],null,null)}function qu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"span",[["class","invalid-feedback"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["This field is required."]))],null,null)}function Tu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,21,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,9,{FormControlNames:1}),e["ɵqud"](603979776,10,{messagesBlock:0}),(l()(),e["ɵeld"](4,0,null,0,1,"label",[["class","cd-col-form-label required"],["for","secret_key"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Secret key"])),(l()(),e["ɵeld"](6,0,null,0,15,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵeld"](7,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),e["ɵeld"](8,0,null,null,6,"input",[["class","form-control"],["formControlName","secret_key"],["id","secret_key"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0;return"input"===n&&(t=!1!==e["ɵnov"](l,9)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,9).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,9)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,9)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid"](9,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](11,671744,[[9,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](13,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](14,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵeld"](15,0,null,null,4,"span",[["class","input-group-append"]],null,null,null,null,null)),(l()(),e["ɵeld"](16,0,null,null,1,"button",[["cdPasswordButton","secret_key"],["class","btn btn-light"],["type","button"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==e["ɵnov"](l,17).onClick()&&t),t}),null,null)),e["ɵdid"](17,81920,null,0,Mn.a,[e.ElementRef,e.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),e["ɵeld"](18,0,null,null,1,"button",[["cdCopy2ClipboardButton","secret_key"],["class","btn btn-light"],["type","button"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==e["ɵnov"](l,19).onClick()&&t),t}),null,null)),e["ɵdid"](19,81920,null,0,On.a,[e.ElementRef,e.Renderer2,Un.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,qu)),e["ɵdid"](21,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,11,0,"secret_key"),l(n,14,0,"secret_key"),l(n,17,0,"secret_key"),l(n,19,0,"secret_key"),l(n,21,0,u.formGroup.showError("secret_key",e["ɵnov"](n.parent.parent,11),"required"))}),(function(l,n){l(n,0,0,e["ɵnov"](n,1).hasErrors,e["ɵnov"](n,1).hasSuccess),l(n,8,0,e["ɵnov"](n,13).ngClassUntouched,e["ɵnov"](n,13).ngClassTouched,e["ɵnov"](n,13).ngClassPristine,e["ɵnov"](n,13).ngClassDirty,e["ɵnov"](n,13).ngClassValid,e["ɵnov"](n,13).ngClassInvalid,e["ɵnov"](n,13).ngClassPending,e["ɵnov"](n,14).validClass,e["ɵnov"](n,14).invalidClass)}))}function Vu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,19,"fieldset",[],null,null,null,null,null)),(l()(),e["ɵeld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Swift key"])),(l()(),e["ɵeld"](3,0,null,null,14,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](4,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,7,{FormControlNames:1}),e["ɵqud"](603979776,8,{messagesBlock:0}),(l()(),e["ɵeld"](7,0,null,0,10,"div",[["class","cd-col-form-offset"]],null,null,null,null,null)),(l()(),e["ɵeld"](8,0,null,null,9,"div",[["class","custom-control custom-checkbox"]],null,null,null,null,null)),(l()(),e["ɵeld"](9,0,null,null,6,"input",[["class","custom-control-input"],["formControlName","generate_secret"],["id","generate_secret"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"change"],[null,"blur"]],(function(l,n,u){var t=!0;return"change"===n&&(t=!1!==e["ɵnov"](l,10).onChange(u.target.checked)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,10).onTouched()&&t),t}),null,null)),e["ɵdid"](10,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid"](12,671744,[[7,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](14,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](15,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵeld"](16,0,null,null,1,"label",[["class","custom-control-label"],["for","generate_secret"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Auto-generate secret"])),(l()(),e["ɵand"](16777216,null,null,1,null,Tu)),e["ɵdid"](19,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,4,0),l(n,12,0,"generate_secret"),l(n,15,0,"generate_secret"),l(n,19,0,!u.editing&&!u.formGroup.getValue("generate_secret"))}),(function(l,n){l(n,3,0,e["ɵnov"](n,4).hasErrors,e["ɵnov"](n,4).hasSuccess),l(n,9,0,e["ɵnov"](n,14).ngClassUntouched,e["ɵnov"](n,14).ngClassTouched,e["ɵnov"](n,14).ngClassPristine,e["ɵnov"](n,14).ngClassDirty,e["ɵnov"](n,14).ngClassValid,e["ɵnov"](n,14).ngClassInvalid,e["ɵnov"](n,14).ngClassPending,e["ɵnov"](n,15).validClass,e["ɵnov"](n,15).invalidClass)}))}function Su(l){return e["ɵvid"](0,[e["ɵpid"](0,xl.TitleCasePipe,[]),e["ɵpid"](0,jn.a,[]),(l()(),e["ɵeld"](2,0,null,null,90,"cd-modal",[],null,null,null,fl.c,fl.b)),e["ɵdid"](3,49152,null,0,Bn.a,[],{modalRef:[0,"modalRef"]},null),(l()(),e["ɵeld"](4,0,null,0,3,null,null,null,null,null,null,null)),(l()(),e["ɵted"](5,null,[""," ",""])),e["ɵppd"](6,1),e["ɵppd"](7,1),(l()(),e["ɵeld"](8,0,null,1,84,null,null,null,null,null,null,null)),(l()(),e["ɵeld"](9,0,null,null,83,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(l,n,u){var t=!0;return"submit"===n&&(t=!1!==e["ɵnov"](l,11).onSubmit(u)&&t),"reset"===n&&(t=!1!==e["ɵnov"](l,11).onReset()&&t),"submit"===n&&(t=!1!==e["ɵnov"](l,14).onSubmit()&&t),t}),null,null)),e["ɵdid"](10,16384,null,0,d.G,[],null,null),e["ɵdid"](11,540672,[["frm",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form"]},null),e["ɵprd"](2048,null,d.d,null,[d.l]),e["ɵdid"](13,16384,null,0,d.s,[[4,d.d]],null,null),e["ɵdid"](14,16384,null,0,Pn.d,[],{formGroup:[0,"formGroup"]},null),(l()(),e["ɵeld"](15,0,null,null,69,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),e["ɵeld"](16,0,null,null,13,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](17,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,1,{FormControlNames:1}),e["ɵqud"](603979776,2,{messagesBlock:0}),(l()(),e["ɵeld"](20,0,null,0,1,"label",[["class","cd-col-form-label"],["for","uid"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Username"])),(l()(),e["ɵeld"](22,0,null,0,7,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵeld"](23,0,null,null,6,"input",[["class","form-control"],["formControlName","uid"],["id","uid"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0;return"input"===n&&(t=!1!==e["ɵnov"](l,24)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,24).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,24)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,24)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid"](24,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](26,671744,[[1,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](28,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](29,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵeld"](30,0,null,null,21,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](31,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,3,{FormControlNames:1}),e["ɵqud"](603979776,4,{messagesBlock:0}),(l()(),e["ɵeld"](34,0,null,0,4,"label",[["class","cd-col-form-label"],["for","subuid"]],null,null,null,null,null)),e["ɵprd"](512,null,xl["ɵNgClassImpl"],xl["ɵNgClassR2Impl"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid"](36,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),e["ɵpod"](37,{required:0}),(l()(),e["ɵted"](-1,null,["Subuser"])),(l()(),e["ɵeld"](39,0,null,0,12,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵeld"](40,0,null,null,7,"input",[["autofocus",""],["class","form-control"],["formControlName","subuid"],["id","subuid"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var t=!0;return"input"===n&&(t=!1!==e["ɵnov"](l,42)._handleInput(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,42).onTouched()&&t),"compositionstart"===n&&(t=!1!==e["ɵnov"](l,42)._compositionStart()&&t),"compositionend"===n&&(t=!1!==e["ɵnov"](l,42)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid"](41,4210688,null,0,Hn.a,[e.ElementRef],{autofocus:[0,"autofocus"]},null),e["ɵdid"](42,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid"](44,671744,[[3,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](46,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](47,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,Iu)),e["ɵdid"](49,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,wu)),e["ɵdid"](51,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](52,0,null,null,30,"div",[["class","form-group row"]],[[2,"has-error",null],[2,"has-success",null]],null,null,An.b,An.a)),e["ɵdid"](53,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud"](603979776,5,{FormControlNames:1}),e["ɵqud"](603979776,6,{messagesBlock:0}),(l()(),e["ɵeld"](56,0,null,0,1,"label",[["class","cd-col-form-label required"],["for","perm"]],null,null,null,null,null)),(l()(),e["ɵted"](-1,null,["Permission"])),(l()(),e["ɵeld"](58,0,null,0,24,"div",[["class","cd-col-form-input"]],null,null,null,null,null)),(l()(),e["ɵeld"](59,0,null,null,21,"select",[["class","form-control custom-select"],["formControlName","perm"],["id","perm"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"is-valid",null],[2,"is-invalid",null]],[[null,"change"],[null,"blur"]],(function(l,n,u){var t=!0;return"change"===n&&(t=!1!==e["ɵnov"](l,60).onChange(u.target.value)&&t),"blur"===n&&(t=!1!==e["ɵnov"](l,60).onTouched()&&t),t}),null,null)),e["ɵdid"](60,16384,null,0,d.A,[e.Renderer2,e.ElementRef],null,null),e["ɵprd"](1024,null,d.p,(function(l){return[l]}),[d.A]),e["ɵdid"](62,671744,[[5,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name"]},null),e["ɵprd"](2048,null,d.q,null,[d.j]),e["ɵdid"](64,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid"](65,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName"]},null),(l()(),e["ɵeld"](66,0,null,null,3,"option",[],null,null,null,null,null)),e["ɵdid"](67,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{ngValue:[0,"ngValue"]},null),e["ɵdid"](68,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),e["ɵted"](-1,null,["-- Select a permission --"])),(l()(),e["ɵand"](16777216,null,null,2,null,Eu)),e["ɵdid"](71,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),e["ɵpad"](72,2),(l()(),e["ɵeld"](73,0,null,null,3,"option",[["value","read-write"]],null,null,null,null,null)),e["ɵdid"](74,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value"]},null),e["ɵdid"](75,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),e["ɵted"](-1,null,["read, write"])),(l()(),e["ɵeld"](77,0,null,null,3,"option",[["value","full-control"]],null,null,null,null,null)),e["ɵdid"](78,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value"]},null),e["ɵdid"](79,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),e["ɵted"](-1,null,["full"])),(l()(),e["ɵand"](16777216,null,null,1,null,Nu)),e["ɵdid"](82,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵand"](16777216,null,null,1,null,Vu)),e["ɵdid"](84,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),e["ɵeld"](85,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),e["ɵeld"](86,0,null,null,4,"cd-submit-button",[],null,[[null,"submitAction"]],(function(l,n,u){var e=!0;return"submitAction"===n&&(e=!1!==l.component.onSubmit()&&e),e}),Qn.b,Qn.a)),e["ɵdid"](87,114688,null,0,Yn.a,[e.ElementRef],{form:[0,"form"]},{submitAction:"submitAction"}),(l()(),e["ɵted"](88,0,[""," ",""])),e["ɵppd"](89,1),e["ɵppd"](90,1),(l()(),e["ɵeld"](91,0,null,null,1,"cd-back-button",[],null,null,null,Ln.b,Ln.a)),e["ɵdid"](92,49152,null,0,zn.a,[xl.Location,t.b],{back:[0,"back"]},null)],(function(l,n){var u=n.component;l(n,3,0,u.bsModalRef),l(n,11,0,u.formGroup),l(n,14,0,u.formGroup),l(n,17,0),l(n,26,0,"uid"),l(n,29,0,"uid"),l(n,31,0);var t=l(n,37,0,!u.editing);l(n,36,0,"cd-col-form-label",t),l(n,41,0,""),l(n,44,0,"subuid"),l(n,47,0,"subuid"),l(n,49,0,u.formGroup.showError("subuid",e["ɵnov"](n,11),"required")),l(n,51,0,u.formGroup.showError("subuid",e["ɵnov"](n,11),"subuserIdExists")),l(n,53,0),l(n,62,0,"perm"),l(n,65,0,"perm"),l(n,67,0,null),l(n,68,0,null);var i=l(n,72,0,"read","write");l(n,71,0,i),l(n,74,0,"read-write"),l(n,75,0,"read-write"),l(n,78,0,"full-control"),l(n,79,0,"full-control"),l(n,82,0,u.formGroup.showError("perm",e["ɵnov"](n,11),"required")),l(n,84,0,!u.editing),l(n,87,0,u.formGroup),l(n,92,0,u.bsModalRef.hide)}),(function(l,n){var u=n.component,t=e["ɵunv"](n,5,0,l(n,6,0,e["ɵnov"](n,0),u.action)),i=e["ɵunv"](n,5,1,l(n,7,0,e["ɵnov"](n,1),u.resource));l(n,5,0,t,i),l(n,9,0,e["ɵnov"](n,13).ngClassUntouched,e["ɵnov"](n,13).ngClassTouched,e["ɵnov"](n,13).ngClassPristine,e["ɵnov"](n,13).ngClassDirty,e["ɵnov"](n,13).ngClassValid,e["ɵnov"](n,13).ngClassInvalid,e["ɵnov"](n,13).ngClassPending),l(n,16,0,e["ɵnov"](n,17).hasErrors,e["ɵnov"](n,17).hasSuccess),l(n,23,0,!0,e["ɵnov"](n,28).ngClassUntouched,e["ɵnov"](n,28).ngClassTouched,e["ɵnov"](n,28).ngClassPristine,e["ɵnov"](n,28).ngClassDirty,e["ɵnov"](n,28).ngClassValid,e["ɵnov"](n,28).ngClassInvalid,e["ɵnov"](n,28).ngClassPending,e["ɵnov"](n,29).validClass,e["ɵnov"](n,29).invalidClass),l(n,30,0,e["ɵnov"](n,31).hasErrors,e["ɵnov"](n,31).hasSuccess),l(n,40,0,u.editing,e["ɵnov"](n,46).ngClassUntouched,e["ɵnov"](n,46).ngClassTouched,e["ɵnov"](n,46).ngClassPristine,e["ɵnov"](n,46).ngClassDirty,e["ɵnov"](n,46).ngClassValid,e["ɵnov"](n,46).ngClassInvalid,e["ɵnov"](n,46).ngClassPending,e["ɵnov"](n,47).validClass,e["ɵnov"](n,47).invalidClass),l(n,52,0,e["ɵnov"](n,53).hasErrors,e["ɵnov"](n,53).hasSuccess),l(n,59,0,e["ɵnov"](n,64).ngClassUntouched,e["ɵnov"](n,64).ngClassTouched,e["ɵnov"](n,64).ngClassPristine,e["ɵnov"](n,64).ngClassDirty,e["ɵnov"](n,64).ngClassValid,e["ɵnov"](n,64).ngClassInvalid,e["ɵnov"](n,64).ngClassPending,e["ɵnov"](n,65).validClass,e["ɵnov"](n,65).invalidClass);var a=e["ɵunv"](n,88,0,l(n,89,0,e["ɵnov"](n,0),u.action)),o=e["ɵunv"](n,88,1,l(n,90,0,e["ɵnov"](n,1),u.resource));l(n,88,0,a,o)}))}function xu(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"cd-rgw-user-subuser-modal",[],null,null,null,Su,Ru)),e["ɵdid"](1,49152,null,0,Z,[R.a,sn.a,Il.a,t.b],null,null)],null,null)}var Du=e["ɵccf"]("cd-rgw-user-subuser-modal",Z,xu,{},{submitAction:"submitAction"},[]),Fu=u("yT6U"),ju=u("4DD9"),Bu=u("IzCI"),Au=u("Dwqy"),Pu=u("uYzU"),Mu=u("FFMq"),Ou=u("E2fk"),Uu=u("nSDx"),Lu=u("SB+Q"),zu=u("TYzs"),Gu=u("BQkM"),Ku=u("dEH0"),$u=u("G1/K
"),Zu=u("efK2
"),Hu=u("CNMR
"),Qu=u("KOzp
"),Yu=u("2uy1"),Wu=u("38Bd
"),Ju=u("978R
"),Xu=u("FO
+L
"),le=u("nhM1
"),ne=u("BARL
"),ue=u("iInd
"),ee=u("9Xeq
"),te=u("hrfs
"),ie=u("yGOH
"),ae=u("bxSN
"),oe=u("WF9J
"),se=u("V
/fk"),de=u("F8xH"),re=u("ChqD"),ce=u("PCNd"),me=u("G6Q+"),ge=e["ɵcrt"]({encapsulation:0,styles:[[""]],data:{}});function pe(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,3,"tab",[["heading","Overall Performance"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),e["ɵdid"](1,212992,null,0,Cl.b,[Cl.e,e.ElementRef,e.Renderer2],{heading:[0,"heading"]},null),(l()(),e["ɵeld"](2,0,null,null,1,"cd-grafana",[["grafanaStyle","two"],["uid","WAkugZpiz"]],null,null,null,_l.b,_l.a)),e["ɵdid"](3,638976,null,0,kl.a,[o.a,yl.b,Rl.a,a.a,Il.a],{grafanaPath:[0,"grafanaPath"],grafanaStyle:[1,"grafanaStyle"],uid:[2,"uid"]},null)],(function(l,n){l(n,1,0,"Overall Performance"),l(n,3,0,"rgw-overview?","two","WAkugZpiz")}),(function(l,n){l(n,0,0,e["ɵnov"](n,1).id,e["ɵnov"](n,1).active,e["ɵnov"](n,1).addClass)}))}function fe(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,9,"tabset",[],[[2,"tab-container",null]],null,null,wl.b,wl.a)),e["ɵdid"](1,180224,null,0,Cl.e,[Cl.f,e.Renderer2,e.ElementRef],null,null),(l()(),e["ɵeld"](2,0,null,0,5,"tab",[["heading","Daemons List"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),e["ɵdid"](3,212992,null,0,Cl.b,[Cl.e,e.ElementRef,e.Renderer2],{heading:[0,"heading"]},null),(l()(),e["ɵeld"](4,0,null,null,3,"cd-table",[["columnMode","flex"],["selectionType","single"]],null,[[null,"updateSelection"],[null,"fetchData"]],(function(l,n,u){var e=!0,t=l.component;return"updateSelection"===n&&(e=!1!==t.updateSelection(u)&&e),"fetchData"===n&&(e=!1!==t.getDaemonList(u)&&e),e}),nn.b,nn.a)),e["ɵdid"](5,2867200,null,0,S.a,[e.NgZone,e.ChangeDetectorRef],{data:[0,"data"],columns:[1,"columns"],columnMode:[2,"columnMode"],selectionType:[3,"selectionType"]},{fetchData:"fetchData",updateSelection:"updateSelection"}),(l()(),e["ɵeld"](6,0,null,3,1,"cd-rgw-daemon-details",[["cdTableDetail",""]],null,null,null,Al,Fl)),e["ɵdid"](7,573440,null,0,Dl,[A,D.a],{selection:[0,"selection"]},null),(l()(),e["ɵand"](16777216,null,0,1,null,pe)),e["ɵdid"](9,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,3,0,"Daemons List"),l(n,5,0,u.daemons,u.columns,"flex","single"),l(n,7,0,u.selection),l(n,9,0,u.grafanaPermission.read)}),(function(l,n){l(n,0,0,e["ɵnov"](n,1).clazz),l(n,2,0,e["ɵnov"](n,3).id,e["ɵnov"](n,3).active,e["ɵnov"](n,3).addClass)}))}function ve(l){return e["ɵvid"](0,[(l()(),e["ɵeld"](0,0,null,null,1,"cd-rgw-daemon-list",[],null,null,null,fe,ge)),e["ɵdid"](1,49152,null,0,M,[A,D.a,P.a,Il.a],null,null)],null,null)}var be=e["ɵccf"]("cd-rgw-daemon-list",M,ve,{},{},[]),he=u("DqMs"),Ce=u("/NlG
"),_e=u("NUGo
"),ke=u("S7zO
"),ye=e["ɵcrt
"]({encapsulation:0,styles:[[""]],data:{}});function Re(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"cd
-alert
-panel
",[["size
","slim
"],["type
","warning
"]],null,null,null,he.b,he.a)),e["ɵdid
"](1,114688,null,0,Ce.a,[Il.a],{type:[0,"type
"],size:[1,"size
"]},null),(l()(),e["ɵted
"](-1,0,["The user list data might be stale
. If needed
, you can manually reload it
."]))],(function(l,n){l(n,1,0,"warning
","slim
")}),null)}function Ie(l){return e["ɵvid
"](0,[e["ɵqud
"](402653184,1,{table:0}),(l()(),e["ɵand
"](16777216,null,null,1,null,Re)),e["ɵdid
"](2,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](3,0,null,null,5,"cd
-table
",[["columnMode
","flex
"],["identifier
","uid
"],["selectionType
","multiClick
"]],null,[[null,"updateSelection
"],[null,"fetchData
"]],(function(l,n,u){var e=!0,t=l.component;return"updateSelection
"===n&&(e=!1!==t.updateSelection(u)&&e),"fetchData
"===n&&(e=!1!==t.getUserList(u)&&e),e}),nn.b,nn.a)),e["ɵdid
"](4,2867200,[[1,4],["table
",4]],0,S.a,[e.NgZone,e.ChangeDetectorRef],{data:[0,"data
"],columns:[1,"columns
"],columnMode:[2,"columnMode
"],autoReload:[3,"autoReload
"],identifier:[4,"identifier
"],selectionType:[5,"selectionType
"]},{fetchData:"fetchData
",updateSelection:"updateSelection
"}),(l()(),e["ɵeld
"](5,0,null,1,1,"cd
-table
-actions
",[["class","table
-actions
"]],null,null,null,_e.b,_e.a)),e["ɵdid
"](6,114688,null,0,ke.a,[],{permission:[0,"permission
"],selection:[1,"selection
"],tableActions:[2,"tableActions
"]},null),(l()(),e["ɵeld
"](7,0,null,3,1,"cd
-rgw
-user
-details
",[["cdTableDetail
",""]],null,null,null,xn,dn)),e["ɵdid
"](8,638976,null,0,on,[_.a,sn.b,Il.a],{selection:[0,"selection
"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.isStale),l(n,4,0,u.users,u.columns,"flex
",!1,"uid
","multiClick
"),l(n,6,0,u.permission,u.selection,u.tableActions),l(n,8,0,u.selection)}),null)}function we(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"cd
-rgw
-user
-list
",[],null,null,null,Ie,ye)),e["ɵprd
"](256,null,F.a,W,[]),e["ɵdid
"](2,49152,null,0,J,[D.a,_.a,sn.b,Il.a,F.a,t.b,e.NgZone],null,null)],null,null)}var Ee=e["ɵccf
"]("cd
-rgw
-user
-list
",J,we,{},{},[]),Ne=u("QC43
"),qe=u("XFyV
"),Te=u("EmSq
"),Ve=e["ɵcrt
"]({encapsulation:0,styles:[[""]],data:{}});function Se(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"cd
-loading
-panel
",[],null,null,null,Ne.b,Ne.a)),e["ɵdid
"](1,49152,null,0,qe.a,[],null,null),(l()(),e["ɵted
"](-1,0,["Loading user data
..."]))],null,null)}function xe(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"cd
-alert
-panel
",[["type
","error
"]],null,[[null,"backAction
"]],(function(l,n,u){var e=!0;return"backAction
"===n&&(e=!1!==l.component.goToListView()&&e),e}),he.b,he.a)),e["ɵdid
"](1,114688,null,0,Ce.a,[Il.a],{type:[0,"type
"]},{backAction:"backAction
"}),(l()(),e["ɵted
"](-1,0,["The user data could not be loaded
."]))],(function(l,n){l(n,1,0,"error
")}),null)}function De(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Fe(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The chosen user ID is already
in use."]))],null,null)}function je(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Be(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This is not a valid email address
."]))],null,null)}function Ae(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The chosen email address is already
in use."]))],null,null)}function Pe(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Me(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The entered value must be
>= 1."]))],null,null)}function Oe(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,17,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,9,{FormControlNames:1}),e["ɵqud
"](603979776,10,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,0,"label
",[["class","cd
-col
-form
-label
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,0,12,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,7,"input
",[["class","form
-control
"],["formControlName
","max_buckets
"],["id
","max_buckets
"],["min
","1"],["type
","number
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"],[null,"change
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,7)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,7).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,7)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,7)._compositionEnd(u.target.value)&&t),"change
"===n&&(t=!1!==e["ɵnov
"](l,8).onChange(u.target.value)&&t),"input
"===n&&(t=!1!==e["ɵnov
"](l,8).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),t}),null,null)),e["ɵdid
"](7,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵdid
"](8,16384,null,0,d.w,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l,n){return[l,n]}),[d.e,d.w]),e["ɵdid
"](10,671744,[[9,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](12,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](13,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Pe)),e["ɵdid
"](15,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Me)),e["ɵdid
"](17,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,10,0,"max_buckets
"),l(n,13,0,"max_buckets
"),l(n,15,0,u.userForm.showError("max_buckets
",e["ɵnov
"](n.parent,3),"required
")),l(n,17,0,u.userForm.showError("max_buckets
",e["ɵnov
"](n.parent,3),"min
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,6,0,e["ɵnov
"](n,12).ngClassUntouched,e["ɵnov
"](n,12).ngClassTouched,e["ɵnov
"](n,12).ngClassPristine,e["ɵnov
"](n,12).ngClassDirty,e["ɵnov
"](n,12).ngClassValid,e["ɵnov
"](n,12).ngClassInvalid,e["ɵnov
"](n,12).ngClassPending,e["ɵnov
"](n,13).validClass,e["ɵnov
"](n,13).invalidClass)}))}function Ue(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Le(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,21,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,15,{FormControlNames:1}),e["ɵqud
"](603979776,16,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label required
"],["for","access_key
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Access key
"])),(l()(),e["ɵeld
"](6,0,null,0,15,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,12,"div
",[["class","input
-group
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](8,0,null,null,6,"input
",[["class","form
-control
"],["formControlName
","access_key
"],["id
","access_key
"],["type
","password
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,9)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,9).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,9)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,9)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](9,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](11,671744,[[15,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](13,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](14,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](15,0,null,null,4,"span
",[["class","input
-group
-append
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](16,0,null,null,1,"button
",[["cdPasswordButton
","access_key
"],["class","btn btn
-light
"],["type
","button
"]],null,[[null,"click
"]],(function(l,n,u){var t=!0;return"click
"===n&&(t=!1!==e["ɵnov
"](l,17).onClick()&&t),t}),null,null)),e["ɵdid
"](17,81920,null,0,Mn.a,[e.ElementRef,e.Renderer2],{cdPasswordButton:[0,"cdPasswordButton
"]},null),(l()(),e["ɵeld
"](18,0,null,null,1,"button
",[["cdCopy2ClipboardButton
","access_key
"],["class","btn btn
-light
"],["type
","button
"]],null,[[null,"click
"]],(function(l,n,u){var t=!0;return"click
"===n&&(t=!1!==e["ɵnov
"](l,19).onClick()&&t),t}),null,null)),e["ɵdid
"](19,81920,null,0,On.a,[e.ElementRef,e.Renderer2,Un.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ue)),e["ɵdid
"](21,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,11,0,"access_key
"),l(n,14,0,"access_key
"),l(n,17,0,"access_key
"),l(n,19,0,"access_key
"),l(n,21,0,u.userForm.showError("access_key
",e["ɵnov
"](n.parent.parent,3),"required
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,8,0,e["ɵnov
"](n,13).ngClassUntouched,e["ɵnov
"](n,13).ngClassTouched,e["ɵnov
"](n,13).ngClassPristine,e["ɵnov
"](n,13).ngClassDirty,e["ɵnov
"](n,13).ngClassValid,e["ɵnov
"](n,13).ngClassInvalid,e["ɵnov
"](n,13).ngClassPending,e["ɵnov
"](n,14).validClass,e["ɵnov
"](n,14).invalidClass)}))}function ze(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Ge(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,21,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,17,{FormControlNames:1}),e["ɵqud
"](603979776,18,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label required
"],["for","secret_key
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Secret key
"])),(l()(),e["ɵeld
"](6,0,null,0,15,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,12,"div
",[["class","input
-group
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](8,0,null,null,6,"input
",[["class","form
-control
"],["formControlName
","secret_key
"],["id
","secret_key
"],["type
","password
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,9)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,9).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,9)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,9)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](9,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](11,671744,[[17,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](13,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](14,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](15,0,null,null,4,"span
",[["class","input
-group
-append
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](16,0,null,null,1,"button
",[["cdPasswordButton
","secret_key
"],["class","btn btn
-light
"],["type
","button
"]],null,[[null,"click
"]],(function(l,n,u){var t=!0;return"click
"===n&&(t=!1!==e["ɵnov
"](l,17).onClick()&&t),t}),null,null)),e["ɵdid
"](17,81920,null,0,Mn.a,[e.ElementRef,e.Renderer2],{cdPasswordButton:[0,"cdPasswordButton
"]},null),(l()(),e["ɵeld
"](18,0,null,null,1,"button
",[["cdCopy2ClipboardButton
","secret_key
"],["class","btn btn
-light
"],["type
","button
"]],null,[[null,"click
"]],(function(l,n,u){var t=!0;return"click
"===n&&(t=!1!==e["ɵnov
"](l,19).onClick()&&t),t}),null,null)),e["ɵdid
"](19,81920,null,0,On.a,[e.ElementRef,e.Renderer2,Un.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ze)),e["ɵdid
"](21,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,11,0,"secret_key
"),l(n,14,0,"secret_key
"),l(n,17,0,"secret_key
"),l(n,19,0,"secret_key
"),l(n,21,0,u.userForm.showError("secret_key
",e["ɵnov
"](n.parent.parent,3),"required
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,8,0,e["ɵnov
"](n,13).ngClassUntouched,e["ɵnov
"](n,13).ngClassTouched,e["ɵnov
"](n,13).ngClassPristine,e["ɵnov
"](n,13).ngClassDirty,e["ɵnov
"](n,13).ngClassValid,e["ɵnov
"](n,13).ngClassInvalid,e["ɵnov
"](n,13).ngClassPending,e["ɵnov
"](n,14).validClass,e["ɵnov
"](n,14).invalidClass)}))}function Ke(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,21,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"legend
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["S3 key
"])),(l()(),e["ɵeld
"](3,0,null,null,14,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](4,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,13,{FormControlNames:1}),e["ɵqud
"](603979776,14,{messagesBlock:0}),(l()(),e["ɵeld
"](7,0,null,0,10,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](8,0,null,null,9,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](9,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","generate_key
"],["id
","generate_key
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,10).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,10).onTouched()&&t),t}),null,null)),e["ɵdid
"](10,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](12,671744,[[13,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](14,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](15,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](16,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","generate_key
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Auto
-generate key
"])),(l()(),e["ɵand
"](16777216,null,null,1,null,Le)),e["ɵdid
"](19,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ge)),e["ɵdid
"](21,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,4,0),l(n,12,0,"generate_key
"),l(n,15,0,"generate_key
"),l(n,19,0,!u.editing&&!u.userForm.getValue("generate_key
")),l(n,21,0,!u.editing&&!u.userForm.getValue("generate_key
"))}),(function(l,n){l(n,3,0,e["ɵnov
"](n,4).hasErrors,e["ɵnov
"](n,4).hasSuccess),l(n,9,0,e["ɵnov
"](n,14).ngClassUntouched,e["ɵnov
"](n,14).ngClassTouched,e["ɵnov
"](n,14).ngClassPristine,e["ɵnov
"](n,14).ngClassDirty,e["ɵnov
"](n,14).ngClassValid,e["ɵnov
"](n,14).ngClassInvalid,e["ɵnov
"](n,14).ngClassPending,e["ɵnov
"](n,15).validClass,e["ɵnov
"](n,15).invalidClass)}))}function $e(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"span
",[["class","no
-border
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"span
",[["class","form
-text text
-muted
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["There are no subusers
."]))],null,null)}function Ze(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,23,"span
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,21,"div
",[["class","input
-group
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](2,0,null,null,2,"div
",[["class","input
-group
-prepend
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](3,0,null,null,1,"span
",[["class","input
-group
-text
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](4,0,null,null,0,"i
",[],[[8,"className
",0]],null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,0,"input
",[["class","cd
-form
-control
"],["readonly
",""],["type
","text
"]],[[8,"value
",0]],null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,2,"div
",[["class","input
-group
-prepend border
-left
-0 border
-right
-0"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,1,"span
",[["class","input
-group
-text
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](8,0,null,null,0,"i
",[],[[8,"className
",0]],null,null,null,null)),(l()(),e["ɵeld
"](9,0,null,null,0,"input
",[["class","cd
-form
-control
"],["readonly
",""],["type
","text
"]],[[8,"value
",0]],null,null,null,null)),(l()(),e["ɵeld
"](10,0,null,null,12,"span
",[["class","input
-group
-append
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](11,16777216,null,null,5,"button
",[["class","btn btn
-light tc_showSubuserButton
"],["tooltip
","Edit
"],["type
","button
"]],[[1,"aria
-describedby
",0]],[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.showSubuserModal(l.context.index)&&e),e}),null,null)),e["ɵdid
"](12,212992,null,0,Ju.c,[e.ViewContainerRef,en.a,Ju.a,e.ElementRef,e.Renderer2,Yu.a],{tooltip:[0,"tooltip
"]},null),(l()(),e["ɵeld
"](13,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](15,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](16,1),(l()(),e["ɵeld
"](17,16777216,null,null,5,"button
",[["class","btn btn
-light tc_deleteSubuserButton
"],["tooltip
","Delete
"],["type
","button
"]],[[1,"aria
-describedby
",0]],[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.deleteSubuser(l.context.index)&&e),e}),null,null)),e["ɵdid
"](18,212992,null,0,Ju.c,[e.ViewContainerRef,en.a,Ju.a,e.ElementRef,e.Renderer2,Yu.a],{tooltip:[0,"tooltip
"]},null),(l()(),e["ɵeld
"](19,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](21,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](22,1),(l()(),e["ɵeld
"](23,0,null,null,0,"span
",[["class","form
-text text
-muted
"]],null,null,null,null,null))],(function(l,n){var u=n.component;l(n,12,0,"Edit
");var e=l(n,16,0,u.icons.edit);l(n,15,0,e),l(n,18,0,"Delete
");var t=l(n,22,0,u.icons.destroy);l(n,21,0,t)}),(function(l,n){var u=n.component;l(n,4,0,e["ɵinlineInterpolate
"](1,"",u.icons.user,"")),l(n,5,0,e["ɵinlineInterpolate
"](1,"",n.context.$implicit.id,"")),l(n,8,0,e["ɵinlineInterpolate
"](1,"",u.icons.share,"")),l(n,9,0,e["ɵinlineInterpolate
"](1,"","full
-control
"===n.context.$implicit.permissions?"full
":n.context.$implicit.permissions,"")),l(n,11,0,e["ɵnov
"](n,12).ariaDescribedby),l(n,17,0,e["ɵnov
"](n,18).ariaDescribedby)}))}function He(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,20,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"legend
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Subusers
"])),(l()(),e["ɵeld
"](3,0,null,null,17,"div
",[["class","row
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](4,0,null,null,16,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵand
"](16777216,null,null,1,null,$e)),e["ɵdid
"](6,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ze)),e["ɵdid
"](8,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf
"]},null),(l()(),e["ɵeld
"](9,0,null,null,10,"div
",[["class","row
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](10,0,null,null,9,"div
",[["class","col
-12"]],null,null,null,null,null)),(l()(),e["ɵeld
"](11,0,null,null,8,"button
",[["class","btn btn
-light
float-right tc_addSubuserButton
"],["type
","button
"]],null,[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.showSubuserModal()&&e),e}),null,null)),(l()(),e["ɵeld
"](12,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](14,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](15,1),(l()(),e["ɵeld
"](16,0,null,null,3,null,null,null,null,null,null,null)),(l()(),e["ɵted
"](17,null,[""," ",""])),e["ɵppd
"](18,1),e["ɵppd
"](19,1),(l()(),e["ɵeld
"](20,0,null,null,0,"span
",[["class","help
-block
"]],null,null,null,null,null))],(function(l,n){var u=n.component;l(n,6,0,0===u.subusers.length),l(n,8,0,u.subusers);var e=l(n,15,0,u.icons.add);l(n,14,0,e)}),(function(l,n){var u=n.component,t=e["ɵunv
"](n,17,0,l(n,18,0,e["ɵnov
"](n.parent.parent,0),u.actionLabels.CREATE)),i=e["ɵunv
"](n,17,1,l(n,19,0,e["ɵnov
"](n.parent.parent,1),u.subuserLabel));l(n,17,0,t,i)}))}function Qe(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"span
",[["class","no
-border
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"span
",[["class","form
-text text
-muted
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["There are no keys
."]))],null,null)}function Ye(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,19,"span
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,17,"div
",[["class","input
-group
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](2,0,null,null,2,"div
",[["class","input
-group
-prepend
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](3,0,null,null,1,"div
",[["class","input
-group
-text
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](4,0,null,null,0,"i
",[],[[8,"className
",0]],null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,0,"input
",[["class","cd
-form
-control
"],["readonly
",""],["type
","text
"]],[[8,"value
",0]],null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,12,"span
",[["class","input
-group
-append
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,16777216,null,null,5,"button
",[["class","btn btn
-light tc_showS3KeyButton
"],["tooltip
","Show
"],["type
","button
"]],[[1,"aria
-describedby
",0]],[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.showS3KeyModal(l.context.index)&&e),e}),null,null)),e["ɵdid
"](8,212992,null,0,Ju.c,[e.ViewContainerRef,en.a,Ju.a,e.ElementRef,e.Renderer2,Yu.a],{tooltip:[0,"tooltip
"]},null),(l()(),e["ɵeld
"](9,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](11,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](12,1),(l()(),e["ɵeld
"](13,16777216,null,null,5,"button
",[["class","btn btn
-light tc_deleteS3KeyButton
"],["tooltip
","Delete
"],["type
","button
"]],[[1,"aria
-describedby
",0]],[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.deleteS3Key(l.context.index)&&e),e}),null,null)),e["ɵdid
"](14,212992,null,0,Ju.c,[e.ViewContainerRef,en.a,Ju.a,e.ElementRef,e.Renderer2,Yu.a],{tooltip:[0,"tooltip
"]},null),(l()(),e["ɵeld
"](15,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](17,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](18,1),(l()(),e["ɵeld
"](19,0,null,null,0,"span
",[["class","form
-text text
-muted
"]],null,null,null,null,null))],(function(l,n){var u=n.component;l(n,8,0,"Show
");var e=l(n,12,0,u.icons.show);l(n,11,0,e),l(n,14,0,"Delete
");var t=l(n,18,0,u.icons.destroy);l(n,17,0,t)}),(function(l,n){l(n,4,0,e["ɵinlineInterpolate
"](1,"",n.component.icons.key,"")),l(n,5,0,e["ɵinlineInterpolate
"](1,"",n.context.$implicit.user,"")),l(n,7,0,e["ɵnov
"](n,8).ariaDescribedby),l(n,13,0,e["ɵnov
"](n,14).ariaDescribedby)}))}function We(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"span
",[["class","no
-border
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"span
",[["class","form
-text text
-muted
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["There are no keys
."]))],null,null)}function Je(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,13,"span
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,11,"div
",[["class","input
-group
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](2,0,null,null,2,"div
",[["class","input
-group
-prepend
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](3,0,null,null,1,"span
",[["class","input
-group
-text
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](4,0,null,null,0,"i
",[],[[8,"className
",0]],null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,0,"input
",[["class","cd
-form
-control
"],["readonly
",""],["type
","text
"]],[[8,"value
",0]],null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,6,"span
",[["class","input
-group
-append
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,16777216,null,null,5,"button
",[["class","btn btn
-light tc_showSwiftKeyButton
"],["tooltip
","Show
"],["type
","button
"]],[[1,"aria
-describedby
",0]],[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.showSwiftKeyModal(l.context.index)&&e),e}),null,null)),e["ɵdid
"](8,212992,null,0,Ju.c,[e.ViewContainerRef,en.a,Ju.a,e.ElementRef,e.Renderer2,Yu.a],{tooltip:[0,"tooltip
"]},null),(l()(),e["ɵeld
"](9,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](11,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](12,1),(l()(),e["ɵeld
"](13,0,null,null,0,"span
",[["class","form
-text text
-muted
"]],null,null,null,null,null))],(function(l,n){var u=n.component;l(n,8,0,"Show
");var e=l(n,12,0,u.icons.show);l(n,11,0,e)}),(function(l,n){l(n,4,0,e["ɵinlineInterpolate
"](1,"",n.component.icons.key,"")),l(n,5,0,e["ɵinlineInterpolate
"](1,"",n.context.$implicit.user,"")),l(n,7,0,e["ɵnov
"](n,8).ariaDescribedby)}))}function Xe(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,37,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"legend
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Keys
"])),(l()(),e["ɵeld
"](3,0,null,null,23,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](4,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,19,{FormControlNames:1}),e["ɵqud
"](603979776,20,{messagesBlock:0}),(l()(),e["ɵeld
"](7,0,null,0,1,"label
",[["class","cd
-col
-form
-label
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["S3
"])),(l()(),e["ɵeld
"](9,0,null,0,16,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵand
"](16777216,null,null,1,null,Qe)),e["ɵdid
"](11,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ye)),e["ɵdid
"](13,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf
"]},null),(l()(),e["ɵeld
"](14,0,null,null,10,"div
",[["class","row
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](15,0,null,null,9,"div
",[["class","col
-12"]],null,null,null,null,null)),(l()(),e["ɵeld
"](16,0,null,null,8,"button
",[["class","btn btn
-light
float-right tc_addS3KeyButton
"],["type
","button
"]],null,[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.showS3KeyModal()&&e),e}),null,null)),(l()(),e["ɵeld
"](17,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](19,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](20,1),(l()(),e["ɵeld
"](21,0,null,null,3,null,null,null,null,null,null,null)),(l()(),e["ɵted
"](22,null,[""," ",""])),e["ɵppd
"](23,1),e["ɵppd
"](24,1),(l()(),e["ɵeld
"](25,0,null,null,0,"span
",[["class","help
-block
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](26,0,null,0,0,"hr
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](27,0,null,null,10,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](28,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,21,{FormControlNames:1}),e["ɵqud
"](603979776,22,{messagesBlock:0}),(l()(),e["ɵeld
"](31,0,null,0,1,"label
",[["class","cd
-col
-form
-label
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Swift
"])),(l()(),e["ɵeld
"](33,0,null,0,4,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵand
"](16777216,null,null,1,null,We)),e["ɵdid
"](35,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Je)),e["ɵdid
"](37,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf
"]},null)],(function(l,n){var u=n.component;l(n,4,0),l(n,11,0,0===u.s3Keys.length),l(n,13,0,u.s3Keys);var e=l(n,20,0,u.icons.add);l(n,19,0,e),l(n,28,0),l(n,35,0,0===u.swiftKeys.length),l(n,37,0,u.swiftKeys)}),(function(l,n){var u=n.component;l(n,3,0,e["ɵnov
"](n,4).hasErrors,e["ɵnov
"](n,4).hasSuccess);var t=e["ɵunv
"](n,22,0,l(n,23,0,e["ɵnov
"](n.parent.parent,0),u.actionLabels.CREATE)),i=e["ɵunv
"](n,22,1,l(n,24,0,e["ɵnov
"](n.parent.parent,1),u.s3keyLabel));l(n,22,0,t,i),l(n,27,0,e["ɵnov
"](n,28).hasErrors,e["ɵnov
"](n,28).hasSuccess)}))}function lt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"span
",[["class","no
-border
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"span
",[["class","form
-text text
-muted
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["There are no capabilities
."]))],null,null)}function nt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,19,"span
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,17,"div
",[["class","input
-group
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](2,0,null,null,2,"span
",[["class","input
-group
-prepend
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](3,0,null,null,1,"div
",[["class","input
-group
-text
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](4,0,null,null,0,"i
",[],[[8,"className
",0]],null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,0,"input
",[["class","cd
-form
-control
"],["readonly
",""],["type
","text
"]],[[8,"value
",0]],null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,12,"span
",[["class","input
-group
-append
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,16777216,null,null,5,"button
",[["class","btn btn
-light tc_editCapButton
"],["tooltip
","Edit
"],["type
","button
"]],[[1,"aria
-describedby
",0]],[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.showCapabilityModal(l.context.index)&&e),e}),null,null)),e["ɵdid
"](8,212992,null,0,Ju.c,[e.ViewContainerRef,en.a,Ju.a,e.ElementRef,e.Renderer2,Yu.a],{tooltip:[0,"tooltip
"]},null),(l()(),e["ɵeld
"](9,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](11,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](12,1),(l()(),e["ɵeld
"](13,16777216,null,null,5,"button
",[["class","btn btn
-light tc_deleteCapButton
"],["tooltip
","Delete
"],["type
","button
"]],[[1,"aria
-describedby
",0]],[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.deleteCapability(l.context.index)&&e),e}),null,null)),e["ɵdid
"](14,212992,null,0,Ju.c,[e.ViewContainerRef,en.a,Ju.a,e.ElementRef,e.Renderer2,Yu.a],{tooltip:[0,"tooltip
"]},null),(l()(),e["ɵeld
"](15,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](17,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](18,1),(l()(),e["ɵeld
"](19,0,null,null,0,"span
",[["class","form
-text text
-muted
"]],null,null,null,null,null))],(function(l,n){var u=n.component;l(n,8,0,"Edit
");var e=l(n,12,0,u.icons.edit);l(n,11,0,e),l(n,14,0,"Delete
");var t=l(n,18,0,u.icons.destroy);l(n,17,0,t)}),(function(l,n){l(n,4,0,e["ɵinlineInterpolate
"](1,"",n.component.icons.share,"")),l(n,5,0,e["ɵinlineInterpolate
"](2,"",n.context.$implicit.type,":",n.context.$implicit.perm,"")),l(n,7,0,e["ɵnov
"](n,8).ariaDescribedby),l(n,13,0,e["ɵnov
"](n,14).ariaDescribedby)}))}function ut(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,24,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"legend
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Capabilities
"])),(l()(),e["ɵeld
"](3,0,null,null,21,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](4,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,23,{FormControlNames:1}),e["ɵqud
"](603979776,24,{messagesBlock:0}),(l()(),e["ɵeld
"](7,0,null,0,17,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵand
"](16777216,null,null,1,null,lt)),e["ɵdid
"](9,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,nt)),e["ɵdid
"](11,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf
"]},null),(l()(),e["ɵeld
"](12,0,null,null,11,"div
",[["class","row
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](13,0,null,null,10,"div
",[["class","col
-12"]],null,null,null,null,null)),(l()(),e["ɵeld
"](14,16777216,null,null,9,"button
",[["class","btn btn
-light
float-right tc_addCapButton
"],["tooltip
","All capabilities are already added
."],["triggers
","pointerenter pointerleave
"],["type
","button
"]],[[8,"disabled
",0],[1,"aria
-describedby
",0]],[[null,"click
"]],(function(l,n,u){var e=!0;return"click
"===n&&(e=!1!==l.component.showCapabilityModal()&&e),e}),null,null)),e["ɵdid
"](15,212992,null,0,Ju.c,[e.ViewContainerRef,en.a,Ju.a,e.ElementRef,e.Renderer2,Yu.a],{tooltip:[0,"tooltip
"],triggers:[1,"triggers
"],isDisabled:[2,"isDisabled
"]},null),(l()(),e["ɵeld
"](16,0,null,null,3,"i
",[],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](18,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{ngClass:[0,"ngClass
"]},null),e["ɵpad
"](19,1),(l()(),e["ɵeld
"](20,0,null,null,3,null,null,null,null,null,null,null)),(l()(),e["ɵted
"](21,null,[""," ",""])),e["ɵppd
"](22,1),e["ɵppd
"](23,1),(l()(),e["ɵeld
"](24,0,null,null,0,"span
",[["class","help
-block
"]],null,null,null,null,null))],(function(l,n){var u=n.component;l(n,4,0),l(n,9,0,0===u.capabilities.length),l(n,11,0,u.capabilities),l(n,15,0,"All capabilities are already added
.","pointerenter pointerleave
",!u.hasAllCapabilities());var e=l(n,19,0,u.icons.add);l(n,18,0,e)}),(function(l,n){var u=n.component;l(n,3,0,e["ɵnov
"](n,4).hasErrors,e["ɵnov
"](n,4).hasSuccess),l(n,14,0,u.hasAllCapabilities(),e["ɵnov
"](n,15).ariaDescribedby);var t=e["ɵunv
"](n,21,0,l(n,22,0,e["ɵnov
"](n.parent.parent,0),u.actionLabels.ADD)),i=e["ɵunv
"](n,21,1,l(n,23,0,e["ɵnov
"](n.parent.parent,1),u.capabilityLabel));l(n,21,0,t,i)}))}function et(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,14,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,27,{FormControlNames:1}),e["ɵqud
"](603979776,28,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,10,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,9,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","user_quota_max_size_unlimited
"],["id
","user_quota_max_size_unlimited
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,7).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,7).onTouched()&&t),t}),null,null)),e["ɵdid
"](7,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](9,671744,[[27,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](11,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](12,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](13,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","user_quota_max_size_unlimited
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Unlimited size
"]))],(function(l,n){l(n,1,0),l(n,9,0,"user_quota_max_size_unlimited
"),l(n,12,0,"user_quota_max_size_unlimited
")}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,6,0,e["ɵnov
"](n,11).ngClassUntouched,e["ɵnov
"](n,11).ngClassTouched,e["ɵnov
"](n,11).ngClassPristine,e["ɵnov
"](n,11).ngClassDirty,e["ɵnov
"](n,11).ngClassValid,e["ɵnov
"](n,11).ngClassInvalid,e["ɵnov
"](n,11).ngClassPending,e["ɵnov
"](n,12).validClass,e["ɵnov
"](n,12).invalidClass)}))}function tt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function it(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The value is not valid
."]))],null,null)}function at(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,18,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,29,{FormControlNames:1}),e["ɵqud
"](603979776,30,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label required
"],["for","user_quota_max_size
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Max
. size
"])),(l()(),e["ɵeld
"](6,0,null,0,12,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,7,"input
",[["cdDimlessBinary
",""],["class","form
-control
"],["formControlName
","user_quota_max_size
"],["id
","user_quota_max_size
"],["type
","text
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,8)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionEnd(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,12).onBlur(u.target.value)&&t),t}),null,null)),e["ɵdid
"](8,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](10,671744,[[29,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](12,81920,null,0,Te.a,[e.ElementRef,d.q,an.a,U.a],null,null),e["ɵdid
"](13,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](14,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,tt)),e["ɵdid
"](16,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,it)),e["ɵdid
"](18,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,10,0,"user_quota_max_size
"),l(n,12,0),l(n,14,0,"user_quota_max_size
"),l(n,16,0,u.userForm.showError("user_quota_max_size
",e["ɵnov
"](n.parent,3),"required
")),l(n,18,0,u.userForm.showError("user_quota_max_size
",e["ɵnov
"](n.parent,3),"quotaMaxSize
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,7,0,e["ɵnov
"](n,13).ngClassUntouched,e["ɵnov
"](n,13).ngClassTouched,e["ɵnov
"](n,13).ngClassPristine,e["ɵnov
"](n,13).ngClassDirty,e["ɵnov
"](n,13).ngClassValid,e["ɵnov
"](n,13).ngClassInvalid,e["ɵnov
"](n,13).ngClassPending,e["ɵnov
"](n,14).validClass,e["ɵnov
"](n,14).invalidClass)}))}function ot(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,14,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,31,{FormControlNames:1}),e["ɵqud
"](603979776,32,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,10,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,9,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","user_quota_max_objects_unlimited
"],["id
","user_quota_max_objects_unlimited
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,7).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,7).onTouched()&&t),t}),null,null)),e["ɵdid
"](7,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](9,671744,[[31,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](11,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](12,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](13,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","user_quota_max_objects_unlimited
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Unlimited objects
"]))],(function(l,n){l(n,1,0),l(n,9,0,"user_quota_max_objects_unlimited
"),l(n,12,0,"user_quota_max_objects_unlimited
")}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,6,0,e["ɵnov
"](n,11).ngClassUntouched,e["ɵnov
"](n,11).ngClassTouched,e["ɵnov
"](n,11).ngClassPristine,e["ɵnov
"](n,11).ngClassDirty,e["ɵnov
"](n,11).ngClassValid,e["ɵnov
"](n,11).ngClassInvalid,e["ɵnov
"](n,11).ngClassPending,e["ɵnov
"](n,12).validClass,e["ɵnov
"](n,12).invalidClass)}))}function st(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function dt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The entered value must be
>= 0."]))],null,null)}function rt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,18,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,33,{FormControlNames:1}),e["ɵqud
"](603979776,34,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label required
"],["for","user_quota_max_objects
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Max
. objects
"])),(l()(),e["ɵeld
"](6,0,null,0,12,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,7,"input
",[["class","form
-control
"],["formControlName
","user_quota_max_objects
"],["id
","user_quota_max_objects
"],["type
","number
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"],[null,"change
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,8)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionEnd(u.target.value)&&t),"change
"===n&&(t=!1!==e["ɵnov
"](l,9).onChange(u.target.value)&&t),"input
"===n&&(t=!1!==e["ɵnov
"](l,9).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,9).onTouched()&&t),t}),null,null)),e["ɵdid
"](8,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵdid
"](9,16384,null,0,d.w,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l,n){return[l,n]}),[d.e,d.w]),e["ɵdid
"](11,671744,[[33,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](13,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](14,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,st)),e["ɵdid
"](16,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,dt)),e["ɵdid
"](18,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,11,0,"user_quota_max_objects
"),l(n,14,0,"user_quota_max_objects
"),l(n,16,0,u.userForm.showError("user_quota_max_objects
",e["ɵnov
"](n.parent,3),"required
")),l(n,18,0,u.userForm.showError("user_quota_max_objects
",e["ɵnov
"](n.parent,3),"min
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,7,0,e["ɵnov
"](n,13).ngClassUntouched,e["ɵnov
"](n,13).ngClassTouched,e["ɵnov
"](n,13).ngClassPristine,e["ɵnov
"](n,13).ngClassDirty,e["ɵnov
"](n,13).ngClassValid,e["ɵnov
"](n,13).ngClassInvalid,e["ɵnov
"](n,13).ngClassPending,e["ɵnov
"](n,14).validClass,e["ɵnov
"](n,14).invalidClass)}))}function ct(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,14,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,37,{FormControlNames:1}),e["ɵqud
"](603979776,38,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,10,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,9,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","bucket_quota_max_size_unlimited
"],["id
","bucket_quota_max_size_unlimited
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,7).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,7).onTouched()&&t),t}),null,null)),e["ɵdid
"](7,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](9,671744,[[37,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](11,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](12,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](13,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","bucket_quota_max_size_unlimited
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Unlimited size
"]))],(function(l,n){l(n,1,0),l(n,9,0,"bucket_quota_max_size_unlimited
"),l(n,12,0,"bucket_quota_max_size_unlimited
")}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,6,0,e["ɵnov
"](n,11).ngClassUntouched,e["ɵnov
"](n,11).ngClassTouched,e["ɵnov
"](n,11).ngClassPristine,e["ɵnov
"](n,11).ngClassDirty,e["ɵnov
"](n,11).ngClassValid,e["ɵnov
"](n,11).ngClassInvalid,e["ɵnov
"](n,11).ngClassPending,e["ɵnov
"](n,12).validClass,e["ɵnov
"](n,12).invalidClass)}))}function mt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function gt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The value is not valid
."]))],null,null)}function pt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,18,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,39,{FormControlNames:1}),e["ɵqud
"](603979776,40,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label required
"],["for","bucket_quota_max_size
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Max
. size
"])),(l()(),e["ɵeld
"](6,0,null,0,12,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,7,"input
",[["cdDimlessBinary
",""],["class","form
-control
"],["formControlName
","bucket_quota_max_size
"],["id
","bucket_quota_max_size
"],["type
","text
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,8)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionEnd(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,12).onBlur(u.target.value)&&t),t}),null,null)),e["ɵdid
"](8,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](10,671744,[[39,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](12,81920,null,0,Te.a,[e.ElementRef,d.q,an.a,U.a],null,null),e["ɵdid
"](13,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](14,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,mt)),e["ɵdid
"](16,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,gt)),e["ɵdid
"](18,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,10,0,"bucket_quota_max_size
"),l(n,12,0),l(n,14,0,"bucket_quota_max_size
"),l(n,16,0,u.userForm.showError("bucket_quota_max_size
",e["ɵnov
"](n.parent,3),"required
")),l(n,18,0,u.userForm.showError("bucket_quota_max_size
",e["ɵnov
"](n.parent,3),"quotaMaxSize
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,7,0,e["ɵnov
"](n,13).ngClassUntouched,e["ɵnov
"](n,13).ngClassTouched,e["ɵnov
"](n,13).ngClassPristine,e["ɵnov
"](n,13).ngClassDirty,e["ɵnov
"](n,13).ngClassValid,e["ɵnov
"](n,13).ngClassInvalid,e["ɵnov
"](n,13).ngClassPending,e["ɵnov
"](n,14).validClass,e["ɵnov
"](n,14).invalidClass)}))}function ft(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,14,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,41,{FormControlNames:1}),e["ɵqud
"](603979776,42,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,10,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,9,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](6,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","bucket_quota_max_objects_unlimited
"],["id
","bucket_quota_max_objects_unlimited
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,7).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,7).onTouched()&&t),t}),null,null)),e["ɵdid
"](7,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](9,671744,[[41,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](11,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](12,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](13,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","bucket_quota_max_objects_unlimited
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Unlimited objects
"]))],(function(l,n){l(n,1,0),l(n,9,0,"bucket_quota_max_objects_unlimited
"),l(n,12,0,"bucket_quota_max_objects_unlimited
")}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,6,0,e["ɵnov
"](n,11).ngClassUntouched,e["ɵnov
"](n,11).ngClassTouched,e["ɵnov
"](n,11).ngClassPristine,e["ɵnov
"](n,11).ngClassDirty,e["ɵnov
"](n,11).ngClassValid,e["ɵnov
"](n,11).ngClassInvalid,e["ɵnov
"](n,11).ngClassPending,e["ɵnov
"](n,12).validClass,e["ɵnov
"](n,12).invalidClass)}))}function vt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function bt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The entered value must be
>= 0."]))],null,null)}function ht(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,18,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,43,{FormControlNames:1}),e["ɵqud
"](603979776,44,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label required
"],["for","bucket_quota_max_objects
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Max
. objects
"])),(l()(),e["ɵeld
"](6,0,null,0,12,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,7,"input
",[["class","form
-control
"],["formControlName
","bucket_quota_max_objects
"],["id
","bucket_quota_max_objects
"],["type
","number
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"],[null,"change
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,8)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionEnd(u.target.value)&&t),"change
"===n&&(t=!1!==e["ɵnov
"](l,9).onChange(u.target.value)&&t),"input
"===n&&(t=!1!==e["ɵnov
"](l,9).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,9).onTouched()&&t),t}),null,null)),e["ɵdid
"](8,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵdid
"](9,16384,null,0,d.w,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l,n){return[l,n]}),[d.e,d.w]),e["ɵdid
"](11,671744,[[43,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](13,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](14,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,vt)),e["ɵdid
"](16,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,bt)),e["ɵdid
"](18,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,11,0,"bucket_quota_max_objects
"),l(n,14,0,"bucket_quota_max_objects
"),l(n,16,0,u.userForm.showError("bucket_quota_max_objects
",e["ɵnov
"](n.parent,3),"required
")),l(n,18,0,u.userForm.showError("bucket_quota_max_objects
",e["ɵnov
"](n.parent,3),"min
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,7,0,e["ɵnov
"](n,13).ngClassUntouched,e["ɵnov
"](n,13).ngClassTouched,e["ɵnov
"](n,13).ngClassPristine,e["ɵnov
"](n,13).ngClassDirty,e["ɵnov
"](n,13).ngClassValid,e["ɵnov
"](n,13).ngClassInvalid,e["ɵnov
"](n,13).ngClassPending,e["ɵnov
"](n,14).validClass,e["ɵnov
"](n,14).invalidClass)}))}function Ct(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,183,"div
",[["class","cd
-col
-form
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,182,"form
",[["novalidate
",""]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null]],[[null,"submit
"],[null,"reset
"]],(function(l,n,u){var t=!0;return"submit
"===n&&(t=!1!==e["ɵnov
"](l,3).onSubmit(u)&&t),"reset
"===n&&(t=!1!==e["ɵnov
"](l,3).onReset()&&t),"submit
"===n&&(t=!1!==e["ɵnov
"](l,6).onSubmit()&&t),t}),null,null)),e["ɵdid
"](2,16384,null,0,d.G,[],null,null),e["ɵdid
"](3,540672,[["frm
",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form
"]},null),e["ɵprd
"](2048,null,d.d,null,[d.l]),e["ɵdid
"](5,16384,null,0,d.s,[[4,d.d]],null,null),e["ɵdid
"](6,16384,null,0,Pn.d,[],{formGroup:[0,"formGroup
"]},null),(l()(),e["ɵeld
"](7,0,null,null,176,"div
",[["class","card
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](8,0,null,null,3,"div
",[["class","card
-header
"]],null,null,null,null,null)),(l()(),e["ɵted
"](9,null,[""," ",""])),e["ɵppd
"](10,1),e["ɵppd
"](11,1),(l()(),e["ɵeld
"](12,0,null,null,162,"div
",[["class","card
-body
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](13,0,null,null,21,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](14,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,1,{FormControlNames:1}),e["ɵqud
"](603979776,2,{messagesBlock:0}),(l()(),e["ɵeld
"](17,0,null,0,4,"label
",[["class","cd
-col
-form
-label
"],["for","uid
"]],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](19,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{klass:[0,"klass
"],ngClass:[1,"ngClass
"]},null),e["ɵpod
"](20,{required:0}),(l()(),e["ɵted
"](-1,null,["Username
"])),(l()(),e["ɵeld
"](22,0,null,0,12,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](23,0,null,null,7,"input
",[["autofocus
",""],["class","form
-control
"],["formControlName
","uid
"],["id
","uid
"],["type
","text
"]],[[8,"readOnly
",0],[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,25)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,25).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,25)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,25)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](24,4210688,null,0,Hn.a,[e.ElementRef],{autofocus:[0,"autofocus
"]},null),e["ɵdid
"](25,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](27,671744,[[1,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](29,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](30,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,De)),e["ɵdid
"](32,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Fe)),e["ɵdid
"](34,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](35,0,null,null,18,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](36,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,3,{FormControlNames:1}),e["ɵqud
"](603979776,4,{messagesBlock:0}),(l()(),e["ɵeld
"](39,0,null,0,4,"label
",[["class","cd
-col
-form
-label
"],["for","display_name
"]],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](41,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{klass:[0,"klass
"],ngClass:[1,"ngClass
"]},null),e["ɵpod
"](42,{required:0}),(l()(),e["ɵted
"](-1,null,["Full name
"])),(l()(),e["ɵeld
"](44,0,null,0,9,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](45,0,null,null,6,"input
",[["class","form
-control
"],["formControlName
","display_name
"],["id
","display_name
"],["type
","text
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,46)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,46).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,46)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,46)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](46,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](48,671744,[[3,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](50,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](51,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,je)),e["ɵdid
"](53,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](54,0,null,null,17,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](55,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,5,{FormControlNames:1}),e["ɵqud
"](603979776,6,{messagesBlock:0}),(l()(),e["ɵeld
"](58,0,null,0,1,"label
",[["class","cd
-col
-form
-label
"],["for","email
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Email address
"])),(l()(),e["ɵeld
"](60,0,null,0,11,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](61,0,null,null,6,"input
",[["class","form
-control
"],["formControlName
","email
"],["id
","email
"],["type
","text
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,62)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,62).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,62)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,62)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](62,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](64,671744,[[5,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](66,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](67,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Be)),e["ɵdid
"](69,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ae)),e["ɵdid
"](71,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](72,0,null,null,25,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](73,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,7,{FormControlNames:1}),e["ɵqud
"](603979776,8,{messagesBlock:0}),(l()(),e["ɵeld
"](76,0,null,0,1,"label
",[["class","cd
-col
-form
-label
"],["for","max_buckets_mode
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Max
. buckets
"])),(l()(),e["ɵeld
"](78,0,null,0,19,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](79,0,null,null,18,"select
",[["class","form
-control custom
-select
"],["formControlName
","max_buckets_mode
"],["id
","max_buckets_mode
"],["name
","max_buckets_mode
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,80).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,80).onTouched()&&t),t}),null,null)),e["ɵdid
"](80,16384,null,0,d.A,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.A]),e["ɵdid
"](82,671744,[[7,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](84,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](85,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](86,0,null,null,3,"option
",[["value
","-1"]],null,null,null,null,null)),e["ɵdid
"](87,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value
"]},null),e["ɵdid
"](88,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value
"]},null),(l()(),e["ɵted
"](-1,null,["Disabled
"])),(l()(),e["ɵeld
"](90,0,null,null,3,"option
",[["value
","0"]],null,null,null,null,null)),e["ɵdid
"](91,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value
"]},null),e["ɵdid
"](92,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value
"]},null),(l()(),e["ɵted
"](-1,null,["Unlimited
"])),(l()(),e["ɵeld
"](94,0,null,null,3,"option
",[["value
","1"]],null,null,null,null,null)),e["ɵdid
"](95,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value
"]},null),e["ɵdid
"](96,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value
"]},null),(l()(),e["ɵted
"](-1,null,["Custom
"])),(l()(),e["ɵand
"](16777216,null,null,1,null,Oe)),e["ɵdid
"](99,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](100,0,null,null,14,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](101,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,11,{FormControlNames:1}),e["ɵqud
"](603979776,12,{messagesBlock:0}),(l()(),e["ɵeld
"](104,0,null,0,10,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](105,0,null,null,9,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](106,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","suspended
"],["id
","suspended
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,107).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,107).onTouched()&&t),t}),null,null)),e["ɵdid
"](107,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](109,671744,[[11,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](111,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](112,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](113,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","suspended
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Suspended
"])),(l()(),e["ɵand
"](16777216,null,null,1,null,Ke)),e["ɵdid
"](116,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,He)),e["ɵdid
"](118,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Xe)),e["ɵdid
"](120,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ut)),e["ɵdid
"](122,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](123,0,null,null,25,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](124,0,null,null,1,"legend
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["User quota
"])),(l()(),e["ɵeld
"](126,0,null,null,14,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](127,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,25,{FormControlNames:1}),e["ɵqud
"](603979776,26,{messagesBlock:0}),(l()(),e["ɵeld
"](130,0,null,0,10,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](131,0,null,null,9,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](132,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","user_quota_enabled
"],["id
","user_quota_enabled
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,133).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,133).onTouched()&&t),t}),null,null)),e["ɵdid
"](133,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](135,671744,[[25,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](137,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](138,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](139,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","user_quota_enabled
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enabled
"])),(l()(),e["ɵand
"](16777216,null,null,1,null,et)),e["ɵdid
"](142,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,at)),e["ɵdid
"](144,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ot)),e["ɵdid
"](146,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,rt)),e["ɵdid
"](148,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](149,0,null,null,25,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](150,0,null,null,1,"legend
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Bucket quota
"])),(l()(),e["ɵeld
"](152,0,null,null,14,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](153,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,35,{FormControlNames:1}),e["ɵqud
"](603979776,36,{messagesBlock:0}),(l()(),e["ɵeld
"](156,0,null,0,10,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](157,0,null,null,9,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](158,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","bucket_quota_enabled
"],["id
","bucket_quota_enabled
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,159).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,159).onTouched()&&t),t}),null,null)),e["ɵdid
"](159,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](161,671744,[[35,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](163,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](164,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](165,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","bucket_quota_enabled
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enabled
"])),(l()(),e["ɵand
"](16777216,null,null,1,null,ct)),e["ɵdid
"](168,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,pt)),e["ɵdid
"](170,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ft)),e["ɵdid
"](172,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ht)),e["ɵdid
"](174,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](175,0,null,null,8,"div
",[["class","card
-footer
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](176,0,null,null,7,"div
",[["class","button
-group text
-right
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](177,0,null,null,4,"cd
-submit
-button
",[],null,[[null,"submitAction
"]],(function(l,n,u){var e=!0;return"submitAction
"===n&&(e=!1!==l.component.onSubmit()&&e),e}),Qn.b,Qn.a)),e["ɵdid
"](178,114688,null,0,Yn.a,[e.ElementRef],{form:[0,"form
"]},{submitAction:"submitAction
"}),(l()(),e["ɵted
"](179,0,[""," ",""])),e["ɵppd
"](180,1),e["ɵppd
"](181,1),(l()(),e["ɵeld
"](182,0,null,null,1,"cd
-back
-button
",[],null,null,null,Ln.b,Ln.a)),e["ɵdid
"](183,49152,null,0,zn.a,[xl.Location,t.b],null,null)],(function(l,n){var u=n.component;l(n,3,0,u.userForm),l(n,6,0,u.userForm),l(n,14,0);var t=l(n,20,0,!u.editing);l(n,19,0,"cd
-col
-form
-label
",t),l(n,24,0,""),l(n,27,0,"uid
"),l(n,30,0,"uid
"),l(n,32,0,u.userForm.showError("uid
",e["ɵnov
"](n,3),"required
")),l(n,34,0,u.userForm.showError("uid
",e["ɵnov
"](n,3),"notUnique
")),l(n,36,0);var i=l(n,42,0,!u.editing);l(n,41,0,"cd
-col
-form
-label
",i),l(n,48,0,"display_name
"),l(n,51,0,"display_name
"),l(n,53,0,u.userForm.showError("display_name
",e["ɵnov
"](n,3),"required
")),l(n,55,0),l(n,64,0,"email
"),l(n,67,0,"email
"),l(n,69,0,u.userForm.showError("email
",e["ɵnov
"](n,3),"email
")),l(n,71,0,u.userForm.showError("email
",e["ɵnov
"](n,3),"notUnique
")),l(n,73,0),l(n,82,0,"max_buckets_mode
"),l(n,85,0,"max_buckets_mode
"),l(n,87,0,"-1"),l(n,88,0,"-1"),l(n,91,0,"0"),l(n,92,0,"0"),l(n,95,0,"1"),l(n,96,0,"1"),l(n,99,0,1==u.userForm.get("max_buckets_mode
").value),l(n,101,0),l(n,109,0,"suspended
"),l(n,112,0,"suspended
"),l(n,116,0,!u.editing),l(n,118,0,u.editing),l(n,120,0,u.editing),l(n,122,0,u.editing),l(n,127,0),l(n,135,0,"user_quota_enabled
"),l(n,138,0,"user_quota_enabled
"),l(n,142,0,u.userForm.controls.user_quota_enabled.value),l(n,144,0,u.userForm.controls.user_quota_enabled.value&&!u.userForm.getValue("user_quota_max_size_unlimited
")),l(n,146,0,u.userForm.controls.user_quota_enabled.value),l(n,148,0,u.userForm.controls.user_quota_enabled.value&&!u.userForm.getValue("user_quota_max_objects_unlimited
")),l(n,153,0),l(n,161,0,"bucket_quota_enabled
"),l(n,164,0,"bucket_quota_enabled
"),l(n,168,0,u.userForm.controls.bucket_quota_enabled.value),l(n,170,0,u.userForm.controls.bucket_quota_enabled.value&&!u.userForm.getValue("bucket_quota_max_size_unlimited
")),l(n,172,0,u.userForm.controls.bucket_quota_enabled.value),l(n,174,0,u.userForm.controls.bucket_quota_enabled.value&&!u.userForm.getValue("bucket_quota_max_objects_unlimited
")),l(n,178,0,u.userForm)}),(function(l,n){var u=n.component;l(n,1,0,e["ɵnov
"](n,5).ngClassUntouched,e["ɵnov
"](n,5).ngClassTouched,e["ɵnov
"](n,5).ngClassPristine,e["ɵnov
"](n,5).ngClassDirty,e["ɵnov
"](n,5).ngClassValid,e["ɵnov
"](n,5).ngClassInvalid,e["ɵnov
"](n,5).ngClassPending);var t=e["ɵunv
"](n,9,0,l(n,10,0,e["ɵnov
"](n.parent,0),u.action)),i=e["ɵunv
"](n,9,1,l(n,11,0,e["ɵnov
"](n.parent,1),u.resource));l(n,9,0,t,i),l(n,13,0,e["ɵnov
"](n,14).hasErrors,e["ɵnov
"](n,14).hasSuccess),l(n,23,0,u.editing,e["ɵnov
"](n,29).ngClassUntouched,e["ɵnov
"](n,29).ngClassTouched,e["ɵnov
"](n,29).ngClassPristine,e["ɵnov
"](n,29).ngClassDirty,e["ɵnov
"](n,29).ngClassValid,e["ɵnov
"](n,29).ngClassInvalid,e["ɵnov
"](n,29).ngClassPending,e["ɵnov
"](n,30).validClass,e["ɵnov
"](n,30).invalidClass),l(n,35,0,e["ɵnov
"](n,36).hasErrors,e["ɵnov
"](n,36).hasSuccess),l(n,45,0,e["ɵnov
"](n,50).ngClassUntouched,e["ɵnov
"](n,50).ngClassTouched,e["ɵnov
"](n,50).ngClassPristine,e["ɵnov
"](n,50).ngClassDirty,e["ɵnov
"](n,50).ngClassValid,e["ɵnov
"](n,50).ngClassInvalid,e["ɵnov
"](n,50).ngClassPending,e["ɵnov
"](n,51).validClass,e["ɵnov
"](n,51).invalidClass),l(n,54,0,e["ɵnov
"](n,55).hasErrors,e["ɵnov
"](n,55).hasSuccess),l(n,61,0,e["ɵnov
"](n,66).ngClassUntouched,e["ɵnov
"](n,66).ngClassTouched,e["ɵnov
"](n,66).ngClassPristine,e["ɵnov
"](n,66).ngClassDirty,e["ɵnov
"](n,66).ngClassValid,e["ɵnov
"](n,66).ngClassInvalid,e["ɵnov
"](n,66).ngClassPending,e["ɵnov
"](n,67).validClass,e["ɵnov
"](n,67).invalidClass),l(n,72,0,e["ɵnov
"](n,73).hasErrors,e["ɵnov
"](n,73).hasSuccess),l(n,79,0,e["ɵnov
"](n,84).ngClassUntouched,e["ɵnov
"](n,84).ngClassTouched,e["ɵnov
"](n,84).ngClassPristine,e["ɵnov
"](n,84).ngClassDirty,e["ɵnov
"](n,84).ngClassValid,e["ɵnov
"](n,84).ngClassInvalid,e["ɵnov
"](n,84).ngClassPending,e["ɵnov
"](n,85).validClass,e["ɵnov
"](n,85).invalidClass),l(n,100,0,e["ɵnov
"](n,101).hasErrors,e["ɵnov
"](n,101).hasSuccess),l(n,106,0,e["ɵnov
"](n,111).ngClassUntouched,e["ɵnov
"](n,111).ngClassTouched,e["ɵnov
"](n,111).ngClassPristine,e["ɵnov
"](n,111).ngClassDirty,e["ɵnov
"](n,111).ngClassValid,e["ɵnov
"](n,111).ngClassInvalid,e["ɵnov
"](n,111).ngClassPending,e["ɵnov
"](n,112).validClass,e["ɵnov
"](n,112).invalidClass),l(n,126,0,e["ɵnov
"](n,127).hasErrors,e["ɵnov
"](n,127).hasSuccess),l(n,132,0,e["ɵnov
"](n,137).ngClassUntouched,e["ɵnov
"](n,137).ngClassTouched,e["ɵnov
"](n,137).ngClassPristine,e["ɵnov
"](n,137).ngClassDirty,e["ɵnov
"](n,137).ngClassValid,e["ɵnov
"](n,137).ngClassInvalid,e["ɵnov
"](n,137).ngClassPending,e["ɵnov
"](n,138).validClass,e["ɵnov
"](n,138).invalidClass),l(n,152,0,e["ɵnov
"](n,153).hasErrors,e["ɵnov
"](n,153).hasSuccess),l(n,158,0,e["ɵnov
"](n,163).ngClassUntouched,e["ɵnov
"](n,163).ngClassTouched,e["ɵnov
"](n,163).ngClassPristine,e["ɵnov
"](n,163).ngClassDirty,e["ɵnov
"](n,163).ngClassValid,e["ɵnov
"](n,163).ngClassInvalid,e["ɵnov
"](n,163).ngClassPending,e["ɵnov
"](n,164).validClass,e["ɵnov
"](n,164).invalidClass);var a=e["ɵunv
"](n,179,0,l(n,180,0,e["ɵnov
"](n.parent,0),u.action)),o=e["ɵunv
"](n,179,1,l(n,181,0,e["ɵnov
"](n.parent,1),u.resource));l(n,179,0,a,o)}))}function _t(l){return e["ɵvid
"](0,[e["ɵpid
"](0,xl.TitleCasePipe,[]),e["ɵpid
"](0,jn.a,[]),(l()(),e["ɵand
"](16777216,null,null,1,null,Se)),e["ɵdid
"](3,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,xe)),e["ɵdid
"](5,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ct)),e["ɵdid
"](7,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,3,0,u.editing&&u.loading&&!u.error),l(n,5,0,u.editing&&u.error),l(n,7,0,!u.loading&&!u.error)}),null)}function kt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"cd
-rgw
-user
-form
",[],null,null,null,_t,Ve)),e["ɵdid
"](1,114688,null,0,Q,[R.a,ue.a,ue.m,_.a,sn.b,w.a,Il.a,t.b],null,null)],(function(l,n){l(n,1,0)}),null)}var yt=e["ɵccf
"]("cd
-rgw
-user
-form
",Q,kt,{},{},[]),Rt=e["ɵcrt
"]({encapsulation:0,styles:[[""]],data:{}});function It(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"cd
-alert
-panel
",[["size
","slim
"],["type
","warning
"]],null,null,null,he.b,he.a)),e["ɵdid
"](1,114688,null,0,Ce.a,[Il.a],{type:[0,"type
"],size:[1,"size
"]},null),(l()(),e["ɵted
"](-1,0,["The bucket list data might be stale
. If needed
, you can manually reload it
."]))],(function(l,n){l(n,1,0,"warning
","slim
")}),null)}function wt(l){return e["ɵvid
"](0,[e["ɵqud
"](402653184,1,{table:0}),(l()(),e["ɵand
"](16777216,null,null,1,null,It)),e["ɵdid
"](2,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](3,0,null,null,5,"cd
-table
",[["columnMode
","flex
"],["identifier
","bid
"],["selectionType
","multiClick
"]],null,[[null,"updateSelection
"],[null,"fetchData
"]],(function(l,n,u){var e=!0,t=l.component;return"updateSelection
"===n&&(e=!1!==t.updateSelection(u)&&e),"fetchData
"===n&&(e=!1!==t.getBucketList(u)&&e),e}),nn.b,nn.a)),e["ɵdid
"](4,2867200,[[1,4],["table
",4]],0,S.a,[e.NgZone,e.ChangeDetectorRef],{data:[0,"data
"],columns:[1,"columns
"],columnMode:[2,"columnMode
"],autoReload:[3,"autoReload
"],identifier:[4,"identifier
"],selectionType:[5,"selectionType
"]},{fetchData:"fetchData
",updateSelection:"updateSelection
"}),(l()(),e["ɵeld
"](5,0,null,1,1,"cd
-table
-actions
",[["class","table
-actions
"]],null,null,null,_e.b,_e.a)),e["ɵdid
"](6,114688,null,0,ke.a,[],{permission:[0,"permission
"],selection:[1,"selection
"],tableActions:[2,"tableActions
"]},null),(l()(),e["ɵeld
"](7,0,null,3,1,"cd
-rgw
-bucket
-details
",[["cdTableDetail
",""]],null,null,null,Jl,zl)),e["ɵdid
"](8,573440,null,0,Ll,[],{selection:[0,"selection
"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.isStale),l(n,4,0,u.buckets,u.columns,"flex
",!1,"bid
","multiClick
"),l(n,6,0,u.permission,u.selection,u.tableActions),l(n,8,0,u.selection)}),null)}function Et(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"cd
-rgw
-bucket
-list
",[],null,null,null,wt,Rt)),e["ɵprd
"](256,null,F.a,j,[]),e["ɵdid
"](2,49152,null,0,B,[D.a,h,sn.b,Il.a,F.a,t.b,e.NgZone],null,null)],null,null)}var Nt=e["ɵccf
"]("cd
-rgw
-bucket
-list
",B,Et,{},{},[]),qt=u("4HWh
"),Tt=u("p4Cf
"),Vt=e["ɵcrt
"]({encapsulation:0,styles:[[""]],data:{}});function St(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,2,"cd
-loading
-panel
",[],null,null,null,Ne.b,Ne.a)),e["ɵdid
"](1,49152,null,0,qe.a,[],null,null),(l()(),e["ɵted
"](-1,0,["Loading bucket data
..."]))],null,null)}function xt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,13,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,1,{FormControlNames:1}),e["ɵqud
"](603979776,2,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label
"],["for","id
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Id
"])),(l()(),e["ɵeld
"](6,0,null,0,7,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,6,"input
",[["class","form
-control
"],["formControlName
","id
"],["id
","id
"],["name
","id
"],["readonly
",""],["type
","text
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,8)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](8,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](10,671744,[[1,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](12,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](13,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null)],(function(l,n){l(n,1,0),l(n,10,0,"id
"),l(n,13,0,"id
")}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,7,0,e["ɵnov
"](n,12).ngClassUntouched,e["ɵnov
"](n,12).ngClassTouched,e["ɵnov
"](n,12).ngClassPristine,e["ɵnov
"](n,12).ngClassDirty,e["ɵnov
"](n,12).ngClassValid,e["ɵnov
"](n,12).ngClassInvalid,e["ɵnov
"](n,12).ngClassPending,e["ɵnov
"](n,13).validClass,e["ɵnov
"](n,13).invalidClass)}))}function Dt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Ft(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The value is not valid
."]))],null,null)}function jt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The chosen name is already
in use."]))],null,null)}function Bt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,3,"option
",[],null,null,null,null,null)),e["ɵdid
"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{ngValue:[0,"ngValue
"]},null),e["ɵdid
"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{ngValue:[0,"ngValue
"]},null),(l()(),e["ɵted
"](-1,null,["Loading
..."]))],(function(l,n){l(n,1,0,null),l(n,2,0,null)}),null)}function At(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,3,"option
",[],null,null,null,null,null)),e["ɵdid
"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{ngValue:[0,"ngValue
"]},null),e["ɵdid
"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{ngValue:[0,"ngValue
"]},null),(l()(),e["ɵted
"](-1,null,["-- Select a user
--"]))],(function(l,n){l(n,1,0,null),l(n,2,0,null)}),null)}function Pt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,3,"option
",[],null,null,null,null,null)),e["ɵdid
"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value
"]},null),e["ɵdid
"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value
"]},null),(l()(),e["ɵted
"](3,null,["",""]))],(function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)}),(function(l,n){l(n,3,0,n.context.$implicit)}))}function Mt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Ot(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,3,"option
",[],null,null,null,null,null)),e["ɵdid
"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{ngValue:[0,"ngValue
"]},null),e["ɵdid
"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{ngValue:[0,"ngValue
"]},null),(l()(),e["ɵted
"](-1,null,["Loading
..."]))],(function(l,n){l(n,1,0,null),l(n,2,0,null)}),null)}function Ut(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,3,"option
",[],null,null,null,null,null)),e["ɵdid
"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{ngValue:[0,"ngValue
"]},null),e["ɵdid
"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{ngValue:[0,"ngValue
"]},null),(l()(),e["ɵted
"](-1,null,["-- Select a placement target
--"]))],(function(l,n){l(n,1,0,null),l(n,2,0,null)}),null)}function Lt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,3,"option
",[],null,null,null,null,null)),e["ɵdid
"](1,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value
"]},null),e["ɵdid
"](2,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value
"]},null),(l()(),e["ɵted
"](3,null,["",""]))],(function(l,n){l(n,1,0,n.context.$implicit.name),l(n,2,0,n.context.$implicit.name)}),(function(l,n){l(n,3,0,n.context.$implicit.description)}))}function zt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Gt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,12,"select
",[["class","form
-control custom
-select
"],["formControlName
","placement
-target
"],["id
","placement
-target
"],["name
","placement
-target
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,1).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,1).onTouched()&&t),t}),null,null)),e["ɵdid
"](1,16384,null,0,d.A,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.A]),e["ɵdid
"](3,671744,[[7,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](5,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](6,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ot)),e["ɵdid
"](8,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ut)),e["ɵdid
"](10,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Lt)),e["ɵdid
"](12,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,zt)),e["ɵdid
"](14,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](0,null,null,0))],(function(l,n){var u=n.component;l(n,3,0,"placement
-target
"),l(n,6,0,"placement
-target
"),l(n,8,0,null===u.placementTargets),l(n,10,0,null!==u.placementTargets),l(n,12,0,u.placementTargets),l(n,14,0,u.bucketForm.showError("placement
-target
",e["ɵnov
"](n.parent,3),"required
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,5).ngClassUntouched,e["ɵnov
"](n,5).ngClassTouched,e["ɵnov
"](n,5).ngClassPristine,e["ɵnov
"](n,5).ngClassDirty,e["ɵnov
"](n,5).ngClassValid,e["ɵnov
"](n,5).ngClassInvalid,e["ɵnov
"](n,5).ngClassPending,e["ɵnov
"](n,6).validClass,e["ɵnov
"](n,6).invalidClass)}))}function Kt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,7,null,null,null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,6,"input
",[["class","form
-control
"],["formControlName
","placement
-target
"],["id
","placement
-target
"],["name
","placement
-target
"],["readonly
",""],["type
","text
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,2)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,2).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,2)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,2)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](2,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](4,671744,[[7,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](6,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](7,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null)],(function(l,n){l(n,4,0,"placement
-target
"),l(n,7,0,"placement
-target
")}),(function(l,n){l(n,1,0,e["ɵnov
"](n,6).ngClassUntouched,e["ɵnov
"](n,6).ngClassTouched,e["ɵnov
"](n,6).ngClassPristine,e["ɵnov
"](n,6).ngClassDirty,e["ɵnov
"](n,6).ngClassValid,e["ɵnov
"](n,6).ngClassInvalid,e["ɵnov
"](n,6).ngClassPending,e["ɵnov
"](n,7).validClass,e["ɵnov
"](n,7).invalidClass)}))}function $t(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,21,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"legend
",[["class","cd
-header
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Versioning
"])),(l()(),e["ɵeld
"](3,0,null,null,18,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](4,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,9,{FormControlNames:1}),e["ɵqud
"](603979776,10,{messagesBlock:0}),(l()(),e["ɵeld
"](7,0,null,0,14,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](8,0,null,null,13,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](9,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","versioning
"],["id
","versioning
"],["name
","versioning
"],["type
","checkbox
"]],[[8,"checked
",0],[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0,i=l.component;return"change
"===n&&(t=!1!==e["ɵnov
"](l,10).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,10).onTouched()&&t),"change
"===n&&(t=!1!==i.updateVersioning()&&t),t}),null,null)),e["ɵdid
"](10,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](12,671744,[[9,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](14,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](15,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](16,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","versioning
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enabled
"])),(l()(),e["ɵeld
"](18,0,null,null,3,"cd
-helper
",[],null,null,null,qt.b,qt.a)),e["ɵdid
"](19,49152,null,0,Tt.a,[],null,null),(l()(),e["ɵeld
"](20,0,null,0,1,"span
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enables versioning
for the objects
in the bucket
."]))],(function(l,n){l(n,4,0),l(n,12,0,"versioning
"),l(n,15,0,"versioning
")}),(function(l,n){var u=n.component;l(n,3,0,e["ɵnov
"](n,4).hasErrors,e["ɵnov
"](n,4).hasSuccess),l(n,9,0,u.isVersioningEnabled,e["ɵnov
"](n,14).ngClassUntouched,e["ɵnov
"](n,14).ngClassTouched,e["ɵnov
"](n,14).ngClassPristine,e["ɵnov
"](n,14).ngClassDirty,e["ɵnov
"](n,14).ngClassValid,e["ɵnov
"](n,14).ngClassInvalid,e["ɵnov
"](n,14).ngClassPending,e["ɵnov
"](n,15).validClass,e["ɵnov
"](n,15).invalidClass)}))}function Zt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Ht(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,15,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,13,{FormControlNames:1}),e["ɵqud
"](603979776,14,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label
"],["for","mfa
-token
-serial
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Token Serial Number
"])),(l()(),e["ɵeld
"](6,0,null,0,9,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,6,"input
",[["class","form
-control
"],["formControlName
","mfa
-token
-serial
"],["id
","mfa
-token
-serial
"],["name
","mfa
-token
-serial
"],["type
","text
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,8)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](8,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](10,671744,[[13,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](12,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](13,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Zt)),e["ɵdid
"](15,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,10,0,"mfa
-token
-serial
"),l(n,13,0,"mfa
-token
-serial
"),l(n,15,0,u.bucketForm.showError("mfa
-token
-serial
",e["ɵnov
"](n.parent.parent,3),"required
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,7,0,e["ɵnov
"](n,12).ngClassUntouched,e["ɵnov
"](n,12).ngClassTouched,e["ɵnov
"](n,12).ngClassPristine,e["ɵnov
"](n,12).ngClassDirty,e["ɵnov
"](n,12).ngClassValid,e["ɵnov
"](n,12).ngClassInvalid,e["ɵnov
"](n,12).ngClassPending,e["ɵnov
"](n,13).validClass,e["ɵnov
"](n,13).invalidClass)}))}function Qt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["This field is required
."]))],null,null)}function Yt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,15,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,15,{FormControlNames:1}),e["ɵqud
"](603979776,16,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label
"],["for","mfa
-token
-pin
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Token PIN
"])),(l()(),e["ɵeld
"](6,0,null,0,9,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,6,"input
",[["class","form
-control
"],["formControlName
","mfa
-token
-pin
"],["id
","mfa
-token
-pin
"],["name
","mfa
-token
-pin
"],["type
","text
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,8)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,8)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](8,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](10,671744,[[15,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](12,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](13,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Qt)),e["ɵdid
"](15,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,10,0,"mfa
-token
-pin
"),l(n,13,0,"mfa
-token
-pin
"),l(n,15,0,u.bucketForm.showError("mfa
-token
-pin
",e["ɵnov
"](n.parent.parent,3),"required
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,7,0,e["ɵnov
"](n,12).ngClassUntouched,e["ɵnov
"](n,12).ngClassTouched,e["ɵnov
"](n,12).ngClassPristine,e["ɵnov
"](n,12).ngClassDirty,e["ɵnov
"](n,12).ngClassValid,e["ɵnov
"](n,12).ngClassInvalid,e["ɵnov
"](n,12).ngClassPending,e["ɵnov
"](n,13).validClass,e["ɵnov
"](n,13).invalidClass)}))}function Wt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,25,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,1,"legend
",[["class","cd
-header
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Multi
-Factor Authentication
"])),(l()(),e["ɵeld
"](3,0,null,null,18,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](4,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,11,{FormControlNames:1}),e["ɵqud
"](603979776,12,{messagesBlock:0}),(l()(),e["ɵeld
"](7,0,null,0,14,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](8,0,null,null,13,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](9,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","mfa
-delete"],["id
","mfa
-delete"],["name
","mfa
-delete"],["type
","checkbox
"]],[[8,"checked
",0],[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0,i=l.component;return"change
"===n&&(t=!1!==e["ɵnov
"](l,10).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,10).onTouched()&&t),"change
"===n&&(t=!1!==i.updateMfaDelete()&&t),t}),null,null)),e["ɵdid
"](10,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](12,671744,[[11,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](14,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](15,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](16,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","mfa
-delete"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Delete enabled
"])),(l()(),e["ɵeld
"](18,0,null,null,3,"cd
-helper
",[],null,null,null,qt.b,qt.a)),e["ɵdid
"](19,49152,null,0,Tt.a,[],null,null),(l()(),e["ɵeld
"](20,0,null,0,1,"span
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enables
MFA (multi
-factor authentication
) Delete
, which requires additional authentication
for changing the bucket versioning state
."])),(l()(),e["ɵand
"](16777216,null,null,1,null,Ht)),e["ɵdid
"](23,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Yt)),e["ɵdid
"](25,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,4,0),l(n,12,0,"mfa
-delete"),l(n,15,0,"mfa
-delete"),l(n,23,0,u.areMfaCredentialsRequired()),l(n,25,0,u.areMfaCredentialsRequired())}),(function(l,n){var u=n.component;l(n,3,0,e["ɵnov
"](n,4).hasErrors,e["ɵnov
"](n,4).hasSuccess),l(n,9,0,u.isMfaDeleteEnabled,e["ɵnov
"](n,14).ngClassUntouched,e["ɵnov
"](n,14).ngClassTouched,e["ɵnov
"](n,14).ngClassPristine,e["ɵnov
"](n,14).ngClassDirty,e["ɵnov
"](n,14).ngClassValid,e["ɵnov
"](n,14).ngClassInvalid,e["ɵnov
"](n,14).ngClassPending,e["ɵnov
"](n,15).validClass,e["ɵnov
"](n,15).invalidClass)}))}function Jt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,21,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,19,{FormControlNames:1}),e["ɵqud
"](603979776,20,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,1,"label
",[["class","cd
-col
-form
-label
"],["for","lock_mode
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Mode
"])),(l()(),e["ɵeld
"](6,0,null,0,15,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](7,0,null,null,14,"select
",[["class","form
-control custom
-select
"],["formControlName
","lock_mode
"],["id
","lock_mode
"],["name
","lock_mode
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,8).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,8).onTouched()&&t),t}),null,null)),e["ɵdid
"](8,16384,null,0,d.A,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.A]),e["ɵdid
"](10,671744,[[19,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](12,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](13,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](14,0,null,null,3,"option
",[["value
","COMPLIANCE
"]],null,null,null,null,null)),e["ɵdid
"](15,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value
"]},null),e["ɵdid
"](16,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value
"]},null),(l()(),e["ɵted
"](-1,null,["Compliance
"])),(l()(),e["ɵeld
"](18,0,null,null,3,"option
",[["value
","GOVERNANCE
"]],null,null,null,null,null)),e["ɵdid
"](19,147456,null,0,d.v,[e.ElementRef,e.Renderer2,[2,d.A]],{value:[0,"value
"]},null),e["ɵdid
"](20,147456,null,0,d.F,[e.ElementRef,e.Renderer2,[8,null]],{value:[0,"value
"]},null),(l()(),e["ɵted
"](-1,null,["Governance
"]))],(function(l,n){l(n,1,0),l(n,10,0,"lock_mode
"),l(n,13,0,"lock_mode
"),l(n,15,0,"COMPLIANCE
"),l(n,16,0,"COMPLIANCE
"),l(n,19,0,"GOVERNANCE
"),l(n,20,0,"GOVERNANCE
")}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,7,0,e["ɵnov
"](n,12).ngClassUntouched,e["ɵnov
"](n,12).ngClassTouched,e["ɵnov
"](n,12).ngClassPristine,e["ɵnov
"](n,12).ngClassDirty,e["ɵnov
"](n,12).ngClassValid,e["ɵnov
"](n,12).ngClassInvalid,e["ɵnov
"](n,12).ngClassPending,e["ɵnov
"](n,13).validClass,e["ɵnov
"](n,13).invalidClass)}))}function Xt(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The entered value must be a positive integer
."]))],null,null)}function li(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Retention period requires either Days or Years
."]))],null,null)}function ni(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,22,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,21,{FormControlNames:1}),e["ɵqud
"](603979776,22,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,5,"label
",[["class","cd
-col
-form
-label
"],["for","lock_retention_period_days
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,1,null,null,null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Days
"])),(l()(),e["ɵeld
"](7,0,null,null,2,"cd
-helper
",[],null,null,null,qt.b,qt.a)),e["ɵdid
"](8,49152,null,0,Tt.a,[],null,null),(l()(),e["ɵted
"](-1,0,["The number
of days that you want to specify
for the
default retention period that will be applied to
new objects placed
in this bucket
."])),(l()(),e["ɵeld
"](10,0,null,0,12,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](11,0,null,null,7,"input
",[["class","form
-control
"],["formControlName
","lock_retention_period_days
"],["id
","lock_retention_period_days
"],["min
","0"],["type
","number
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"],[null,"change
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,12)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,12).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,12)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,12)._compositionEnd(u.target.value)&&t),"change
"===n&&(t=!1!==e["ɵnov
"](l,13).onChange(u.target.value)&&t),"input
"===n&&(t=!1!==e["ɵnov
"](l,13).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,13).onTouched()&&t),t}),null,null)),e["ɵdid
"](12,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵdid
"](13,16384,null,0,d.w,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l,n){return[l,n]}),[d.e,d.w]),e["ɵdid
"](15,671744,[[21,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](17,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](18,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Xt)),e["ɵdid
"](20,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,li)),e["ɵdid
"](22,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,15,0,"lock_retention_period_days
"),l(n,18,0,"lock_retention_period_days
"),l(n,20,0,u.bucketForm.showError("lock_retention_period_days
",e["ɵnov
"](n.parent,3),"pattern
")),l(n,22,0,u.bucketForm.showError("lock_retention_period_days
",e["ɵnov
"](n.parent,3),"eitherDaysOrYears
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,11,0,e["ɵnov
"](n,17).ngClassUntouched,e["ɵnov
"](n,17).ngClassTouched,e["ɵnov
"](n,17).ngClassPristine,e["ɵnov
"](n,17).ngClassDirty,e["ɵnov
"](n,17).ngClassValid,e["ɵnov
"](n,17).ngClassInvalid,e["ɵnov
"](n,17).ngClassPending,e["ɵnov
"](n,18).validClass,e["ɵnov
"](n,18).invalidClass)}))}function ui(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["The entered value must be a positive integer
."]))],null,null)}function ei(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"span
",[["class","invalid
-feedback
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Retention period requires either Days or Years
."]))],null,null)}function ti(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,22,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](1,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,23,{FormControlNames:1}),e["ɵqud
"](603979776,24,{messagesBlock:0}),(l()(),e["ɵeld
"](4,0,null,0,5,"label
",[["class","cd
-col
-form
-label
"],["for","lock_retention_period_years
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](5,0,null,null,1,null,null,null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Years
"])),(l()(),e["ɵeld
"](7,0,null,null,2,"cd
-helper
",[],null,null,null,qt.b,qt.a)),e["ɵdid
"](8,49152,null,0,Tt.a,[],null,null),(l()(),e["ɵted
"](-1,0,["The number
of years that you want to specify
for the
default retention period that will be applied to
new objects placed
in this bucket
."])),(l()(),e["ɵeld
"](10,0,null,0,12,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](11,0,null,null,7,"input
",[["class","form
-control
"],["formControlName
","lock_retention_period_years
"],["id
","lock_retention_period_years
"],["min
","0"],["type
","number
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"],[null,"change
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,12)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,12).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,12)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,12)._compositionEnd(u.target.value)&&t),"change
"===n&&(t=!1!==e["ɵnov
"](l,13).onChange(u.target.value)&&t),"input
"===n&&(t=!1!==e["ɵnov
"](l,13).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,13).onTouched()&&t),t}),null,null)),e["ɵdid
"](12,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵdid
"](13,16384,null,0,d.w,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l,n){return[l,n]}),[d.e,d.w]),e["ɵdid
"](15,671744,[[23,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](17,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](18,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ui)),e["ɵdid
"](20,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ei)),e["ɵdid
"](22,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,1,0),l(n,15,0,"lock_retention_period_years
"),l(n,18,0,"lock_retention_period_years
"),l(n,20,0,u.bucketForm.showError("lock_retention_period_days
",e["ɵnov
"](n.parent,3),"pattern
")),l(n,22,0,u.bucketForm.showError("lock_retention_period_years
",e["ɵnov
"](n.parent,3),"eitherDaysOrYears
"))}),(function(l,n){l(n,0,0,e["ɵnov
"](n,1).hasErrors,e["ɵnov
"](n,1).hasSuccess),l(n,11,0,e["ɵnov
"](n,17).ngClassUntouched,e["ɵnov
"](n,17).ngClassTouched,e["ɵnov
"](n,17).ngClassPristine,e["ɵnov
"](n,17).ngClassDirty,e["ɵnov
"](n,17).ngClassValid,e["ɵnov
"](n,17).ngClassInvalid,e["ɵnov
"](n,17).ngClassPending,e["ɵnov
"](n,18).validClass,e["ɵnov
"](n,18).invalidClass)}))}function ii(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,115,"div
",[["class","cd
-col
-form
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](1,0,null,null,114,"form
",[["name
","bucketForm
"],["novalidate
",""]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null]],[[null,"submit
"],[null,"reset
"]],(function(l,n,u){var t=!0;return"submit
"===n&&(t=!1!==e["ɵnov
"](l,3).onSubmit(u)&&t),"reset
"===n&&(t=!1!==e["ɵnov
"](l,3).onReset()&&t),"submit
"===n&&(t=!1!==e["ɵnov
"](l,6).onSubmit()&&t),t}),null,null)),e["ɵdid
"](2,16384,null,0,d.G,[],null,null),e["ɵdid
"](3,540672,[["frm
",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form
"]},null),e["ɵprd
"](2048,null,d.d,null,[d.l]),e["ɵdid
"](5,16384,null,0,d.s,[[4,d.d]],null,null),e["ɵdid
"](6,16384,null,0,Pn.d,[],{formGroup:[0,"formGroup
"]},null),(l()(),e["ɵeld
"](7,0,null,null,108,"div
",[["class","card
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](8,0,null,null,3,"div
",[["class","card
-header
"]],null,null,null,null,null)),(l()(),e["ɵted
"](9,null,[""," ",""])),e["ɵppd
"](10,1),e["ɵppd
"](11,1),(l()(),e["ɵeld
"](12,0,null,null,94,"div
",[["class","card
-body
"]],null,null,null,null,null)),(l()(),e["ɵand
"](16777216,null,null,1,null,xt)),e["ɵdid
"](14,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](15,0,null,null,23,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](16,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,3,{FormControlNames:1}),e["ɵqud
"](603979776,4,{messagesBlock:0}),(l()(),e["ɵeld
"](19,0,null,0,4,"label
",[["class","cd
-col
-form
-label
"],["for","bid
"]],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](21,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{klass:[0,"klass
"],ngClass:[1,"ngClass
"]},null),e["ɵpod
"](22,{required:0}),(l()(),e["ɵted
"](-1,null,["Name
"])),(l()(),e["ɵeld
"](24,0,null,0,14,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](25,0,null,null,7,"input
",[["class","form
-control
"],["formControlName
","bid
"],["id
","bid
"],["name
","bid
"],["placeholder
","Name
..."],["type
","text
"]],[[8,"readOnly
",0],[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"input
"],[null,"blur
"],[null,"compositionstart
"],[null,"compositionend
"]],(function(l,n,u){var t=!0;return"input
"===n&&(t=!1!==e["ɵnov
"](l,27)._handleInput(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,27).onTouched()&&t),"compositionstart
"===n&&(t=!1!==e["ɵnov
"](l,27)._compositionStart()&&t),"compositionend
"===n&&(t=!1!==e["ɵnov
"](l,27)._compositionEnd(u.target.value)&&t),t}),null,null)),e["ɵdid
"](26,4210688,null,0,Hn.a,[e.ElementRef],{autofocus:[0,"autofocus
"]},null),e["ɵdid
"](27,16384,null,0,d.e,[e.Renderer2,e.ElementRef,[2,d.b]],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.e]),e["ɵdid
"](29,671744,[[3,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](31,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](32,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Dt)),e["ɵdid
"](34,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Ft)),e["ɵdid
"](36,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,jt)),e["ɵdid
"](38,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](39,0,null,null,22,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](40,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,5,{FormControlNames:1}),e["ɵqud
"](603979776,6,{messagesBlock:0}),(l()(),e["ɵeld
"](43,0,null,0,1,"label
",[["class","cd
-col
-form
-label required
"],["for","owner
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Owner
"])),(l()(),e["ɵeld
"](45,0,null,0,16,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](46,0,null,null,13,"select
",[["class","form
-control custom
-select
"],["formControlName
","owner
"],["id
","owner
"],["name
","owner
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,48).onChange(u.target.value)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,48).onTouched()&&t),t}),null,null)),e["ɵdid
"](47,4210688,null,0,Hn.a,[e.ElementRef],{autofocus:[0,"autofocus
"]},null),e["ɵdid
"](48,16384,null,0,d.A,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.A]),e["ɵdid
"](50,671744,[[5,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](52,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](53,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Bt)),e["ɵdid
"](55,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,At)),e["ɵdid
"](57,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Pt)),e["ɵdid
"](59,278528,null,0,xl.NgForOf,[e.ViewContainerRef,e.TemplateRef,e.IterableDiffers],{ngForOf:[0,"ngForOf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Mt)),e["ɵdid
"](61,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](62,0,null,null,12,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](63,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,7,{FormControlNames:1}),e["ɵqud
"](603979776,8,{messagesBlock:0}),(l()(),e["ɵeld
"](66,0,null,0,4,"label
",[["class","cd
-col
-form
-label
"],["for","placement
-target
"]],null,null,null,null,null)),e["ɵprd
"](512,null,xl["ɵNgClassImpl
"],xl["ɵNgClassR2Impl
"],[e.IterableDiffers,e.KeyValueDiffers,e.ElementRef,e.Renderer2]),e["ɵdid
"](68,278528,null,0,xl.NgClass,[xl["ɵNgClassImpl
"]],{klass:[0,"klass
"],ngClass:[1,"ngClass
"]},null),e["ɵpod
"](69,{required:0}),(l()(),e["ɵted
"](-1,null,["Placement target
"])),(l()(),e["ɵeld
"](71,0,null,0,3,"div
",[["class","cd
-col
-form
-input
"]],null,null,null,null,null)),(l()(),e["ɵand
"](0,[["placementTargetSelect
",2]],null,0,null,Gt)),(l()(),e["ɵand
"](16777216,null,null,1,null,Kt)),e["ɵdid
"](74,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"],ngIfElse:[1,"ngIfElse
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,$t)),e["ɵdid
"](76,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,Wt)),e["ɵdid
"](78,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](79,0,null,null,27,"fieldset
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](80,0,null,null,1,"legend
",[["class","cd
-header
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Locking
"])),(l()(),e["ɵeld
"](82,0,null,null,18,"div
",[["class","form
-group row
"]],[[2,"has
-error
",null],[2,"has
-success
",null]],null,null,An.b,An.a)),e["ɵdid
"](83,1163264,null,2,Pn.c,[e.ElementRef,Pn.g],null,null),e["ɵqud
"](603979776,17,{FormControlNames:1}),e["ɵqud
"](603979776,18,{messagesBlock:0}),(l()(),e["ɵeld
"](86,0,null,0,14,"div
",[["class","cd
-col
-form
-offset
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](87,0,null,null,13,"div
",[["class","custom
-control custom
-checkbox
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](88,0,null,null,6,"input
",[["class","custom
-control
-input
"],["formControlName
","lock_enabled
"],["id
","lock_enabled
"],["type
","checkbox
"]],[[2,"ng
-untouched
",null],[2,"ng
-touched
",null],[2,"ng
-pristine
",null],[2,"ng
-dirty
",null],[2,"ng
-valid
",null],[2,"ng
-invalid
",null],[2,"ng
-pending
",null],[2,"is
-valid
",null],[2,"is
-invalid
",null]],[[null,"change
"],[null,"blur
"]],(function(l,n,u){var t=!0;return"change
"===n&&(t=!1!==e["ɵnov
"](l,89).onChange(u.target.checked)&&t),"blur
"===n&&(t=!1!==e["ɵnov
"](l,89).onTouched()&&t),t}),null,null)),e["ɵdid
"](89,16384,null,0,d.c,[e.Renderer2,e.ElementRef],null,null),e["ɵprd
"](1024,null,d.p,(function(l){return[l]}),[d.c]),e["ɵdid
"](91,671744,[[17,4]],0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.E]],{name:[0,"name
"]},null),e["ɵprd
"](2048,null,d.q,null,[d.j]),e["ɵdid
"](93,16384,null,0,d.r,[[4,d.q]],null,null),e["ɵdid
"](94,16384,null,0,Pn.h,[[3,d.d],Pn.a],{formControlName:[0,"formControlName
"]},null),(l()(),e["ɵeld
"](95,0,null,null,1,"label
",[["class","custom
-control
-label
"],["for","lock_enabled
"]],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enabled
"])),(l()(),e["ɵeld
"](97,0,null,null,3,"cd
-helper
",[],null,null,null,qt.b,qt.a)),e["ɵdid
"](98,49152,null,0,Tt.a,[],null,null),(l()(),e["ɵeld
"](99,0,null,0,1,"span
",[],null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Enables locking
for the objects
in the bucket
. Locking can only be enabled
while creating a bucket
."])),(l()(),e["ɵand
"](16777216,null,null,1,null,Jt)),e["ɵdid
"](102,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ni)),e["ɵdid
"](104,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ti)),e["ɵdid
"](106,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵeld
"](107,0,null,null,8,"div
",[["class","card
-footer
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](108,0,null,null,7,"div
",[["class","button
-group text
-right
"]],null,null,null,null,null)),(l()(),e["ɵeld
"](109,0,null,null,4,"cd
-submit
-button
",[],null,[[null,"submitAction
"]],(function(l,n,u){var e=!0;return"submitAction
"===n&&(e=!1!==l.component.submit()&&e),e}),Qn.b,Qn.a)),e["ɵdid
"](110,114688,null,0,Yn.a,[e.ElementRef],{form:[0,"form
"]},{submitAction:"submitAction
"}),(l()(),e["ɵted
"](111,0,[""," ",""])),e["ɵppd
"](112,1),e["ɵppd
"](113,1),(l()(),e["ɵeld
"](114,0,null,null,1,"cd
-back
-button
",[],null,null,null,Ln.b,Ln.a)),e["ɵdid
"](115,49152,null,0,zn.a,[xl.Location,t.b],null,null)],(function(l,n){var u=n.component;l(n,3,0,u.bucketForm),l(n,6,0,u.bucketForm),l(n,14,0,u.editing),l(n,16,0);var t=l(n,22,0,!u.editing);l(n,21,0,"cd
-col
-form
-label
",t),l(n,26,0,!u.editing),l(n,29,0,"bid
"),l(n,32,0,"bid
"),l(n,34,0,u.bucketForm.showError("bid
",e["ɵnov
"](n,3),"required
")),l(n,36,0,u.bucketForm.showError("bid
",e["ɵnov
"](n,3),"bucketNameInvalid
")),l(n,38,0,u.bucketForm.showError("bid
",e["ɵnov
"](n,3),"bucketNameExists
")),l(n,40,0),l(n,47,0,u.editing),l(n,50,0,"owner
"),l(n,53,0,"owner
"),l(n,55,0,null===u.owners),l(n,57,0,null!==u.owners),l(n,59,0,u.owners),l(n,61,0,u.bucketForm.showError("owner
",e["ɵnov
"](n,3),"required
")),l(n,63,0);var i=l(n,69,0,!u.editing);l(n,68,0,"cd
-col
-form
-label
",i),l(n,74,0,u.editing,e["ɵnov
"](n,72)),l(n,76,0,u.editing),l(n,78,0,u.editing),l(n,83,0),l(n,91,0,"lock_enabled
"),l(n,94,0,"lock_enabled
"),l(n,102,0,u.bucketForm.getValue("lock_enabled
")),l(n,104,0,u.bucketForm.getValue("lock_enabled
")),l(n,106,0,u.bucketForm.getValue("lock_enabled
")),l(n,110,0,u.bucketForm)}),(function(l,n){var u=n.component;l(n,1,0,e["ɵnov
"](n,5).ngClassUntouched,e["ɵnov
"](n,5).ngClassTouched,e["ɵnov
"](n,5).ngClassPristine,e["ɵnov
"](n,5).ngClassDirty,e["ɵnov
"](n,5).ngClassValid,e["ɵnov
"](n,5).ngClassInvalid,e["ɵnov
"](n,5).ngClassPending);var t=e["ɵunv
"](n,9,0,l(n,10,0,e["ɵnov
"](n.parent,0),u.action)),i=e["ɵunv
"](n,9,1,l(n,11,0,e["ɵnov
"](n.parent,1),u.resource));l(n,9,0,t,i),l(n,15,0,e["ɵnov
"](n,16).hasErrors,e["ɵnov
"](n,16).hasSuccess),l(n,25,0,u.editing,e["ɵnov
"](n,31).ngClassUntouched,e["ɵnov
"](n,31).ngClassTouched,e["ɵnov
"](n,31).ngClassPristine,e["ɵnov
"](n,31).ngClassDirty,e["ɵnov
"](n,31).ngClassValid,e["ɵnov
"](n,31).ngClassInvalid,e["ɵnov
"](n,31).ngClassPending,e["ɵnov
"](n,32).validClass,e["ɵnov
"](n,32).invalidClass),l(n,39,0,e["ɵnov
"](n,40).hasErrors,e["ɵnov
"](n,40).hasSuccess),l(n,46,0,e["ɵnov
"](n,52).ngClassUntouched,e["ɵnov
"](n,52).ngClassTouched,e["ɵnov
"](n,52).ngClassPristine,e["ɵnov
"](n,52).ngClassDirty,e["ɵnov
"](n,52).ngClassValid,e["ɵnov
"](n,52).ngClassInvalid,e["ɵnov
"](n,52).ngClassPending,e["ɵnov
"](n,53).validClass,e["ɵnov
"](n,53).invalidClass),l(n,62,0,e["ɵnov
"](n,63).hasErrors,e["ɵnov
"](n,63).hasSuccess),l(n,82,0,e["ɵnov
"](n,83).hasErrors,e["ɵnov
"](n,83).hasSuccess),l(n,88,0,e["ɵnov
"](n,93).ngClassUntouched,e["ɵnov
"](n,93).ngClassTouched,e["ɵnov
"](n,93).ngClassPristine,e["ɵnov
"](n,93).ngClassDirty,e["ɵnov
"](n,93).ngClassValid,e["ɵnov
"](n,93).ngClassInvalid,e["ɵnov
"](n,93).ngClassPending,e["ɵnov
"](n,94).validClass,e["ɵnov
"](n,94).invalidClass);var a=e["ɵunv
"](n,111,0,l(n,112,0,e["ɵnov
"](n.parent,0),u.action)),o=e["ɵunv
"](n,111,1,l(n,113,0,e["ɵnov
"](n.parent,1),u.resource));l(n,111,0,a,o)}))}function ai(l){return e["ɵvid
"](0,[e["ɵpid
"](0,xl.TitleCasePipe,[]),e["ɵpid
"](0,jn.a,[]),(l()(),e["ɵand
"](16777216,null,null,1,null,St)),e["ɵdid
"](3,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null),(l()(),e["ɵand
"](16777216,null,null,1,null,ii)),e["ɵdid
"](5,16384,null,0,xl.NgIf,[e.ViewContainerRef,e.TemplateRef],{ngIf:[0,"ngIf
"]},null)],(function(l,n){var u=n.component;l(n,3,0,u.editing&&u.loading&&!u.error),l(n,5,0,!u.loading&&!u.error)}),null)}function oi(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"cd
-rgw
-bucket
-form
",[],null,null,null,ai,Vt)),e["ɵdid
"](1,114688,null,0,q,[ue.a,ue.m,R.a,h,C,_.a,w.a,Il.a,t.b],null,null)],(function(l,n){l(n,1,0)}),null)}var si=e["ɵccf
"]("cd
-rgw
-bucket
-form
",q,oi,{},{},[]),di=e["ɵcrt
"]({encapsulation:0,styles:[[""]],data:{}});function ri(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,8,"cd
-alert
-panel
",[["type
","info
"]],null,null,null,he.b,he.a)),e["ɵdid
"](1,114688,null,0,Ce.a,[Il.a],{type:[0,"type
"]},null),(l()(),e["ɵted
"](2,0,[" ",""])),(l()(),e["ɵeld
"](3,0,null,0,0,"br
",[],null,null,null,null,null)),(l()(),e["ɵeld
"](4,0,null,0,4,null,null,null,null,null,null,null)),(l()(),e["ɵted
"](-1,null,["Please consult the
"])),(l()(),e["ɵeld
"](6,0,null,null,1,"a
",[["target
","_blank
"]],[[8,"href
",4]],null,null,null,null)),(l()(),e["ɵted
"](-1,null,["documentation
"])),(l()(),e["ɵted
"](-1,null,[" on how to configure and enable the Object Gateway management functionality
."]))],(function(l,n){l(n,1,0,"info
")}),(function(l,n){var u=n.component;l(n,2,0,u.message),l(n,6,0,e["ɵinlineInterpolate
"](1,"",u.docsUrl,""))}))}function ci(l){return e["ɵvid
"](0,[(l()(),e["ɵeld
"](0,0,null,null,1,"cd
-rgw
-501",[],null,null,null,ri,di)),e["ɵdid
"](1,245760,null,0,s,[ue.a,o.a,a.a],null,null)],(function(l,n){l(n,1,0)}),null)}var mi=e["ɵccf
"]("cd
-rgw
-501",s,ci,{},{},[]);u.d(n,"RgwModuleNgFactory
",(function(){return gi})),u.d(n,"RoutedRgwModuleNgFactory
",(function(){return pi}));var gi=e["ɵcmf
"](X,[],(function(l){return e["ɵmod
"]([e["ɵmpd
"](512,e.ComponentFactoryResolver,e["ɵCodegenComponentFactoryResolver
"],[[8,[dl.a,rl.a,cl.a,ml.a,ml.b,gl.a,pl.a,fl.a,vl.a,bl.a,hl.a,Ml,ln,Fn,Zn,cu,yu,Du]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e["ɵmpd
"](4608,xl.NgLocalization,xl.NgLocaleLocalization,[e.LOCALE_ID,[2,xl["ɵangular_packages_common_common_a
"]]]),e["ɵmpd
"](4608,Fu.a,Fu.a,[]),e["ɵmpd
"](4608,ju.a,ju.a,[]),e["ɵmpd
"](4608,Ol.a,Ol.a,[Il.a]),e["ɵmpd
"](4608,xl.DatePipe,xl.DatePipe,[e.LOCALE_ID]),e["ɵmpd
"](4608,P.a,P.a,[]),e["ɵmpd
"](4608,a.a,a.a,[]),e["ɵmpd
"](4608,U.a,U.a,[]),e["ɵmpd
"](4608,an.a,an.a,[U.a]),e["ɵmpd
"](4608,Bu.a,Bu.a,[U.a]),e["ɵmpd
"](4608,Ul.a,Ul.a,[U.a]),e["ɵmpd
"](4608,Au.a,Au.a,[]),e["ɵmpd
"](4608,Pu.a,Pu.a,[]),e["ɵmpd
"](4608,Mu.a,Mu.a,[]),e["ɵmpd
"](4608,Ou.a,Ou.a,[]),e["ɵmpd
"](4608,ql.a,ql.a,[xl.DatePipe]),e["ɵmpd
"](4608,Uu.a,Uu.a,[]),e["ɵmpd
"](4608,Lu.a,Lu.a,[]),e["ɵmpd
"](4608,zu.a,zu.a,[]),e["ɵmpd
"](4608,Gu.a,Gu.a,[]),e["ɵmpd
"](4608,Ku.a,Ku.a,[]),e["ɵmpd
"](4608,$u.a,$u.a,[Il.a]),e["ɵmpd
"](4608,jn.a,jn.a,[]),e["ɵmpd
"](4608,tn.a,tn.a,[]),e["ɵmpd
"](4608,Zu.a,Zu.a,[]),e["ɵmpd
"](4608,d.D,d.D,[]),e["ɵmpd
"](4608,d.h,d.h,[]),e["ɵmpd
"](4608,Hu.b,Hu.b,[]),e["ɵmpd
"](4608,Qu.a,Qu.a,[]),e["ɵmpd
"](4608,Yu.a,Yu.a,[e.RendererFactory2,e.PLATFORM_ID]),e["ɵmpd
"](4608,en.a,en.a,[e.ComponentFactoryResolver,e.NgZone,e.Injector,Yu.a,e.ApplicationRef]),e["ɵmpd
"](4608,Wu.c,Wu.c,[]),e["ɵmpd
"](4608,Ju.a,Ju.a,[]),e["ɵmpd
"](4608,sn.b,sn.b,[e.RendererFactory2,en.a]),e["ɵmpd
"](4608,Xu.ScrollbarHelper,Xu.ScrollbarHelper,[xl.DOCUMENT]),e["ɵmpd
"](4608,le.DimensionsHelper,le.DimensionsHelper,[]),e["ɵmpd
"](4608,ne.ColumnChangesService,ne.ColumnChangesService,[]),e["ɵmpd
"](4608,un.f,un.f,[]),e["ɵmpd
"](4608,D.a,D.a,[]),e["ɵmpd
"](4608,i.a,i.a,[ue.m,D.a]),e["ɵmpd
"](4608,Cl.f,Cl.f,[]),e["ɵmpd
"](1073742336,xl.CommonModule,xl.CommonModule,[]),e["ɵmpd
"](1073742336,ee.a,ee.a,[]),e["ɵmpd
"](1073742336,d.C,d.C,[]),e["ɵmpd
"](1073742336,d.n,d.n,[]),e["ɵmpd
"](1073742336,d.y,d.y,[]),e["ɵmpd
"](1073742336,Hu.c,Hu.c,[]),e["ɵmpd
"](1073742336,Qu.d,Qu.d,[]),e["ɵmpd
"](1073742336,Wu.d,Wu.d,[]),e["ɵmpd
"](1073742336,Ju.d,Ju.d,[]),e["ɵmpd
"](1073742336,te.b,te.b,[]),e["ɵmpd
"](1073742336,sn.e,sn.e,[]),e["ɵmpd
"](1073742336,ie.a,ie.a,[]),e["ɵmpd
"](1073742336,un.e,un.e,[]),e["ɵmpd
"](1073742336,Pn.f,Pn.f,[]),e["ɵmpd
"](1073742336,ae.ClickOutsideModule,ae.ClickOutsideModule,[]),e["ɵmpd
"](1073742336,oe.b,oe.b,[]),e["ɵmpd
"](1073742336,ue.q,ue.q,[[2,ue.v],[2,ue.m]]),e["ɵmpd
"](1073742336,se.a,se.a,[]),e["ɵmpd
"](1073742336,de.NgxDatatableModule,de.NgxDatatableModule,[]),e["ɵmpd
"](1073742336,re.a,re.a,[]),e["ɵmpd
"](1073742336,b.a,b.a,[]),e["ɵmpd
"](1073742336,ce.a,ce.a,[]),e["ɵmpd
"](1073742336,me.a,me.a,[]),e["ɵmpd
"](1073742336,Cl.d,Cl.d,[]),e["ɵmpd
"](1073742336,X,X,[]),e["ɵmpd
"](256,e.LOCALE_ID,"en
-US
",[]),e["ɵmpd
"](256,un.a,{autoClose:!0,insideClick:!1},[]),e["ɵmpd
"](256,e.TRANSLATIONS_FORMAT,"xlf
",[])])})),pi=e["ɵcmf
"](sl,[],(function(l){return e["ɵmod
"]([e["ɵmpd
"](512,e.ComponentFactoryResolver,e["ɵCodegenComponentFactoryResolver
"],[[8,[dl.a,rl.a,cl.a,ml.a,ml.b,gl.a,pl.a,fl.a,vl.a,bl.a,hl.a,Ml,ln,Fn,Zn,cu,yu,Du,be,Ee,yt,Nt,si,mi]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e["ɵmpd
"](4608,xl.NgLocalization,xl.NgLocaleLocalization,[e.LOCALE_ID,[2,xl["ɵangular_packages_common_common_a
"]]]),e["ɵmpd
"](4608,Fu.a,Fu.a,[]),e["ɵmpd
"](4608,ju.a,ju.a,[]),e["ɵmpd
"](4608,Ol.a,Ol.a,[Il.a]),e["ɵmpd
"](4608,xl.DatePipe,xl.DatePipe,[e.LOCALE_ID]),e["ɵmpd
"](4608,P.a,P.a,[]),e["ɵmpd
"](4608,a.a,a.a,[]),e["ɵmpd
"](4608,U.a,U.a,[]),e["ɵmpd
"](4608,an.a,an.a,[U.a]),e["ɵmpd
"](4608,Bu.a,Bu.a,[U.a]),e["ɵmpd
"](4608,Ul.a,Ul.a,[U.a]),e["ɵmpd
"](4608,Au.a,Au.a,[]),e["ɵmpd
"](4608,Pu.a,Pu.a,[]),e["ɵmpd
"](4608,Mu.a,Mu.a,[]),e["ɵmpd
"](4608,Ou.a,Ou.a,[]),e["ɵmpd
"](4608,ql.a,ql.a,[xl.DatePipe]),e["ɵmpd
"](4608,Uu.a,Uu.a,[]),e["ɵmpd
"](4608,Lu.a,Lu.a,[]),e["ɵmpd
"](4608,zu.a,zu.a,[]),e["ɵmpd
"](4608,Gu.a,Gu.a,[]),e["ɵmpd
"](4608,Ku.a,Ku.a,[]),e["ɵmpd
"](4608,$u.a,$u.a,[Il.a]),e["ɵmpd
"](4608,jn.a,jn.a,[]),e["ɵmpd
"](4608,tn.a,tn.a,[]),e["ɵmpd
"](4608,Zu.a,Zu.a,[]),e["ɵmpd
"](4608,d.D,d.D,[]),e["ɵmpd
"](4608,d.h,d.h,[]),e["ɵmpd
"](4608,Hu.b,Hu.b,[]),e["ɵmpd
"](4608,Qu.a,Qu.a,[]),e["ɵmpd
"](4608,Yu.a,Yu.a,[e.RendererFactory2,e.PLATFORM_ID]),e["ɵmpd
"](4608,en.a,en.a,[e.ComponentFactoryResolver,e.NgZone,e.Injector,Yu.a,e.ApplicationRef]),e["ɵmpd
"](4608,Wu.c,Wu.c,[]),e["ɵmpd
"](4608,Ju.a,Ju.a,[]),e["ɵmpd
"](4608,sn.b,sn.b,[e.RendererFactory2,en.a]),e["ɵmpd
"](4608,Xu.ScrollbarHelper,Xu.ScrollbarHelper,[xl.DOCUMENT]),e["ɵmpd
"](4608,le.DimensionsHelper,le.DimensionsHelper,[]),e["ɵmpd
"](4608,ne.ColumnChangesService,ne.ColumnChangesService,[]),e["ɵmpd
"](4608,un.f,un.f,[]),e["ɵmpd
"](4608,D.a,D.a,[]),e["ɵmpd
"](4608,i.a,i.a,[ue.m,D.a]),e["ɵmpd
"](4608,Cl.f,Cl.f,[]),e["ɵmpd
"](1073742336,xl.CommonModule,xl.CommonModule,[]),e["ɵmpd
"](1073742336,ee.a,ee.a,[]),e["ɵmpd
"](1073742336,d.C,d.C,[]),e["ɵmpd
"](1073742336,d.n,d.n,[]),e["ɵmpd
"](1073742336,d.y,d.y,[]),e["ɵmpd
"](1073742336,Hu.c,Hu.c,[]),e["ɵmpd
"](1073742336,Qu.d,Qu.d,[]),e["ɵmpd
"](1073742336,Wu.d,Wu.d,[]),e["ɵmpd
"](1073742336,Ju.d,Ju.d,[]),e["ɵmpd
"](1073742336,te.b,te.b,[]),e["ɵmpd
"](1073742336,sn.e,sn.e,[]),e["ɵmpd
"](1073742336,ie.a,ie.a,[]),e["ɵmpd
"](1073742336,un.e,un.e,[]),e["ɵmpd
"](1073742336,Pn.f,Pn.f,[]),e["ɵmpd
"](1073742336,ae.ClickOutsideModule,ae.ClickOutsideModule,[]),e["ɵmpd
"](1073742336,oe.b,oe.b,[]),e["ɵmpd
"](1073742336,ue.q,ue.q,[[2,ue.v],[2,ue.m]]),e["ɵmpd
"](1073742336,se.a,se.a,[]),e["ɵmpd
"](1073742336,de.NgxDatatableModule,de.NgxDatatableModule,[]),e["ɵmpd
"](1073742336,re.a,re.a,[]),e["ɵmpd
"](1073742336,b.a,b.a,[]),e["ɵmpd
"](1073742336,ce.a,ce.a,[]),e["ɵmpd
"](1073742336,me.a,me.a,[]),e["ɵmpd
"](1073742336,Cl.d,Cl.d,[]),e["ɵmpd
"](1073742336,X,X,[]),e["ɵmpd
"](1073742336,sl,sl,[]),e["ɵmpd
"](256,e.LOCALE_ID,"en
-US
",[]),e["ɵmpd
"](256,un.a,{autoClose:!0,insideClick:!1},[]),e["ɵmpd
"](1024,ue.k,(function(){return[[{path:"",redirectTo:"daemon
",pathMatch:"full
"},{path:"daemon
",component:M,data:ll},{path:"user
",data:nl,children:[{path:"",component:J},{path:"create
",component:Q,data:ul},{path:"edit
/:uid",component:Q,data:el}]},{path:"bucket",data:tl,children:[{path:"",component:B},{path:"create",component:q,data:il},{path:"edit/:bid
",component:q,data:al}]},{path:"501/:message
",component:s,canActivate:[i.a],data:ol}]]}),[]),e["ɵmpd
"](256,e.TRANSLATIONS_FORMAT,"xlf
",[])])}))}}]);