1 (window
.webpackJsonp
=window
.webpackJsonp
||[]).push([[8],{nOaW:function(l
,n
,e
){"use strict";e
.r(n
);var u
=e("CcnG"),t
=e("sne2"),o
=e("gIcY"),i
=e("LvDl"),a
=e("VNr4"),r
=e("t/Na"),s
=e("Jm/i"),d
=e("pL04"),c=function(){function l(l
,n
){this.http
=l
,this.i18n
=n
,this.apiPath
="api/erasure_code_profile",this.formTooltips
={k
:this.i18n("Each object is split in data-chunks parts, each stored on a different OSD."),m
:this.i18n("Compute coding chunks for each object and store them on different OSDs.\n The number of coding chunks is also the number of OSDs that can be down without losing data."),plugins
:{jerasure
:{description
:this.i18n("The jerasure plugin is the most generic and flexible plugin,\n it is also the default for Ceph erasure coded pools."),technique
:this.i18n("The more flexible technique is reed_sol_van : it is enough to set k\n and m. The cauchy_good technique can be faster but you need to chose the packetsize\n carefully. All of reed_sol_r6_op, liberation, blaum_roth, liber8tion are RAID6 equivalents\n in the sense that they can only be configured with m=2."),packetSize
:this.i18n("The encoding will be done on packets of bytes size at a time.\n Chosing the right packet size is difficult.\n The jerasure documentation contains extensive information on this topic.")},lrc
:{description
:this.i18n("With the jerasure plugin, when an erasure coded object is stored on\n multiple OSDs, recovering from the loss of one OSD requires reading from all the others.\n For instance if jerasure is configured with k=8 and m=4, losing one OSD requires reading\n from the eleven others to repair.\n\n The lrc erasure code plugin creates local parity chunks to be able to recover using\n less OSDs. For instance if lrc is configured with k=8, m=4 and l=4, it will create\n an additional parity chunk for every four OSDs. When a single OSD is lost, it can be\n recovered with only four OSDs instead of eleven."),l
:this.i18n("Group the coding and data chunks into sets of size locality. For instance,\n for k=4 and m=2, when locality=3 two groups of three are created. Each set can\n be recovered without reading chunks from another set."),crushLocality
:this.i18n("The type of the crush bucket in which each set of chunks defined\n by l will be stored. For instance, if it is set to rack, each group of l chunks will be\n placed in a different rack. It is used to create a CRUSH rule step such as step choose\n rack. If it is not set, no such grouping is done.")},isa
:{description
:this.i18n("The isa plugin encapsulates the ISA library. It only runs on Intel processors."),technique
:this.i18n("The ISA plugin comes in two Reed Solomon forms.\n If reed_sol_van is set, it is Vandermonde, if cauchy is set, it is Cauchy.")},shec
:{description
:this.i18n("The shec plugin encapsulates the multiple SHEC library.\n It allows ceph to recover data more efficiently than Reed Solomon codes."),c
:this.i18n("The number of parity chunks each of which includes each data chunk in its\n calculation range. The number is used as a durability estimator. For instance, if c=2,\n 2 OSDs can be down without losing data.")}},crushRoot
:this.i18n("The name of the crush bucket used for the first step of the CRUSH rule.\n For instance step take default."),crushFailureDomain
:this.i18n("Ensure that no two chunks are in a bucket with the same failure\n domain. For instance, if the failure domain is host no two chunks will be stored on the same\n host. It is used to create a CRUSH rule step such as step chooseleaf host."),crushDeviceClass
:this.i18n("Restrict placement to devices of a specific class\n (e.g., ssd or hdd), using the crush device class names in the CRUSH map."),directory
:this.i18n("Set the directory name from which the erasure code plugin is loaded.")}}return l
.prototype.list=function(){return this.http
.get(this.apiPath
)},l
.prototype.create=function(l
){return this.http
.post(this.apiPath
,l
,{observe
:"response"})},l
.prototype.update=function(l
){return this.http
.put(this.apiPath
+"/"+l
.name
,l
,{observe
:"response"})},l
.prototype.delete=function(l
){return this.http
.delete(this.apiPath
+"/"+l
,{observe
:"response"})},l
.prototype.get=function(l
){return this.http
.get(this.apiPath
+"/"+l
)},l
.prototype.getInfo=function(){return this.http
.get(this.apiPath
+"/_info")},l
.ngInjectableDef
=u
.defineInjectable({factory:function(){return new l(u
.inject(r
.c
),u
.inject(s
.a
))},token
:l
,providedIn
:d
.a
}),l
}(),p
=e("Ekvf"),f
=e("0+/T"),m
=e("QFaf"),g
=e("1Ni5"),h
=e("PhyI"),v
=e("kvvV"),b
=e("Fgil"),C
=e("aexS"),R
=e("aXbf"),y
=e("kn/O"),I
=e("2EZI"),E=function(){return function(){}}(),V=function(){function l(l
,n
,e
,t
,o
,i
){this.formBuilder
=l
,this.bsModalRef
=n
,this.taskWrapper
=e
,this.ecpService
=t
,this.i18n
=o
,this.actionLabels
=i
,this.submitAction
=new u
.EventEmitter
,this.requiredControls
=[],this.devices
=[],this.tooltips
=this.ecpService
.formTooltips
,this.PLUGIN
={LRC
:"lrc",SHEC
:"shec",JERASURE
:"jerasure",ISA
:"isa"},this.plugin
=this.PLUGIN
.JERASURE
,this.action
=this.actionLabels
.CREATE
,this.resource
=this.i18n("EC Profile"),this.createForm(),this.setJerasureDefaults()}return l
.prototype.createForm=function(){var l
=this;this.form
=this.formBuilder
.group({name
:[null,[o
.A
.required
,o
.A
.pattern("[A-Za-z0-9_-]+"),g
.a
.custom("uniqueName",function(n
){return l
.names
&&-1!==l
.names
.indexOf(n
)})]],plugin
:[this.PLUGIN
.JERASURE
,[o
.A
.required
]],k
:[1],m
:[1],crushFailureDomain
:["host"],crushRoot
:["default"],crushDeviceClass
:[""],directory
:[""],technique
:["reed_sol_van"],packetSize
:[2048,[o
.A
.min(1)]],l
:[1,[o
.A
.required
,o
.A
.min(1)]],crushLocality
:[""],c
:[1,[o
.A
.required
,o
.A
.min(1)]]}),this.form
.get("plugin").valueChanges
.subscribe(function(n
){return l
.onPluginChange(n
)})},l
.prototype.onPluginChange=function(l
){this.plugin
=l
,l
===this.PLUGIN
.JERASURE
?this.setJerasureDefaults():l
===this.PLUGIN
.LRC
?this.setLrcDefaults():l
===this.PLUGIN
.ISA
?this.setIsaDefaults():l
===this.PLUGIN
.SHEC
&&this.setShecDefaults()},l
.prototype.setNumberValidators=function(l
,n
){var e
=[o
.A
.min(1)];n
&&e
.push(o
.A
.required
),this.form
.get(l
).setValidators(e
)},l
.prototype.setKMValidators=function(l
){var n
=this;["k","m"].forEach(function(e
){return n
.setNumberValidators(e
,l
)})},l
.prototype.setJerasureDefaults=function(){this.requiredControls
=["k","m"],this.setDefaults({k
:4,m
:2}),this.setKMValidators(!0),this.techniques
=["reed_sol_van","reed_sol_r6_op","cauchy_orig","cauchy_good","liberation","blaum_roth","liber8tion"]},l
.prototype.setLrcDefaults=function(){this.requiredControls
=["k","m","l"],this.setKMValidators(!0),this.setNumberValidators("l",!0),this.setDefaults({k
:4,m
:2,l
:3})},l
.prototype.setIsaDefaults=function(){this.requiredControls
=[],this.setKMValidators(!1),this.setDefaults({k
:7,m
:3}),this.techniques
=["reed_sol_van","cauchy"]},l
.prototype.setShecDefaults=function(){this.requiredControls
=[],this.setKMValidators(!1),this.setDefaults({k
:4,m
:3,c
:2})},l
.prototype.setDefaults=function(l
){var n
=this;Object
.keys(l
).forEach(function(e
){n
.form
.get(e
).pristine
&&n
.form
.silentSet(e
,l
[e
])})},l
.prototype.ngOnInit=function(){var l
=this;this.ecpService
.getInfo().subscribe(function(n
){var e
=n
.plugins
,u
=n
.names
,t
=n
.directory
,o
=n
.devices
;l
.failureDomains
=n
.failure_domains
,l
.plugins
=e
,l
.names
=u
,l
.devices
=o
,l
.form
.silentSet("directory",t
)})},l
.prototype.createJson=function(){var l
=this,n
={technique
:[this.PLUGIN
.ISA
,this.PLUGIN
.JERASURE
],packetSize
:[this.PLUGIN
.JERASURE
],l
:[this.PLUGIN
.LRC
],crushLocality
:[this.PLUGIN
.LRC
],c
:[this.PLUGIN
.SHEC
]},e
=new E
,u
=this.form
.getValue("plugin");return Object
.keys(this.form
.controls
).filter(function(e
){var t
=n
[e
],o
=l
.form
.get(e
);return(t
&&t
.includes(u
)||!t
)&&(o
.dirty
||l
.requiredControls
.includes(e
))&&l
.form
.getValue(e
)}).forEach(function(n
){l
.extendJson(n
,e
)}),e
},l
.prototype.extendJson=function(l
,n
){n
[{crushFailureDomain
:"crush-failure-domain",crushRoot
:"crush-root",crushDeviceClass
:"crush-device-class",packetSize
:"packetsize",crushLocality
:"crush-locality"}[l
]||l
]=this.form
.getValue(l
)},l
.prototype.onSubmit=function(){var l
=this;if(this.form
.invalid
)this.form
.setErrors({cdSubmitButton
:!0});else{var n
=this.createJson();this.taskWrapper
.wrapTaskAroundCall({task
:new v
.a("ecp/create",{name
:n
.name
}),call
:this.ecpService
.create(n
)}).subscribe(void 0,function(){l
.form
.setErrors({cdSubmitButton
:!0})},function(){l
.bsModalRef
.hide(),l
.submitAction
.emit(n
)})}},l
}(),T
=e("DNAf"),w
=e("a96k"),S=function(){return function(l
){this.erasureInfo
=!1,this.crushInfo
=!1,this.pgs
=1,this.poolTypes
=["erasure","replicated"],this.applications
={selected
:[],available
:[new w
.a(!1,"cephfs",""),new w
.a(!1,"rbd",""),new w
.a(!1,"rgw","")],validators
:[o
.A
.pattern("[A-Za-z0-9_]+"),o
.A
.maxLength(128)],messages
:new T
.a({empty
:l("No applications added"),selectionLimit
:{text
:l("Applications limit reached"),tooltip
:l("A pool can only have up to four applications definitions.")},customValidations
:{pattern
:l("Allowed characters '_a-zA-Z0-9'"),maxlength
:l("Maximum length is 128 characters")},filter
:l("Filter or add applications"),add
:l("Add application")},l
)}}}(),N=function(){function l(l
,n
,e
,o
,i
,a
,r
,s
,d
,c
,p
,f
){this.dimlessBinaryPipe
=l
,this.route
=n
,this.router
=e
,this.modalService
=o
,this.poolService
=i
,this.authStorageService
=a
,this.formatter
=r
,this.bsModalService
=s
,this.taskWrapper
=d
,this.ecpService
=c
,this.i18n
=p
,this.actionLabels
=f
,this.editing
=!1,this.data
=new S(this.i18n
),this.externalPgChange
=!1,this.current
={rules
:[]},this.initializeConfigData
=new u
.EventEmitter
,this.currentConfigurationValues
={},this.editing
=this.router
.url
.startsWith("/pool/"+t
.e
.EDIT
),this.action
=this.editing
?this.actionLabels
.EDIT
:this.actionLabels
.CREATE
,this.resource
=this.i18n("pool"),this.authenticate(),this.createForm()}return l
.prototype.authenticate=function(){this.permission
=this.authStorageService
.getPermissions().pool
,(!this.permission
.read
||!this.permission
.update
&&this.editing
||!this.permission
.create
&&!this.editing
)&&this.router
.navigate(["/404"])},l
.prototype.createForm=function(){var l
=this,n
=new m
.a({mode
:new o
.i("none"),algorithm
:new o
.i(""),minBlobSize
:new o
.i("",{updateOn
:"blur"}),maxBlobSize
:new o
.i("",{updateOn
:"blur"}),ratio
:new o
.i("",{updateOn
:"blur"})});this.form
=new m
.a({name
:new o
.i("",{validators
:[o
.A
.pattern(/^[.A
-Za
-z0
-9_
\/-]+$/),o
.A
.required
]}),poolType
:new o
.i("",{validators
:[o
.A
.required
]}),crushRule
:new o
.i(null,{validators
:[g
.a
.custom("tooFewOsds",function(n
){return l
.info
&&n
&&l
.info
.osd_count
<n
.min_size
})]}),size
:new o
.i("",{updateOn
:"blur"}),erasureProfile
:new o
.i(null),pgNum
:new o
.i("",{validators
:[o
.A
.required
,o
.A
.min(1)]}),ecOverwrites
:new o
.i(!1),compression
:n
},[g
.a
.custom("form",function(){return null}),g
.a
.custom("rbdPool",function(){return l
.form
&&l
.form
.getValue("name").includes("/")&&l
.data
&&-1!==l
.data
.applications
.selected
.indexOf("rbd")})])},l
.prototype.ngOnInit=function(){var l
=this;Object(a
.a
)(this.poolService
.getInfo(),this.ecpService
.list()).subscribe(function(n
){l
.initInfo(n
[0]),l
.initEcp(n
[1]),l
.editing
&&l
.initEditMode(),l
.listenToChanges(),l
.setComplexValidators()})},l
.prototype.initInfo=function(l
){this.form
.silentSet("algorithm",l
.bluestore_compression_algorithm
),this.info
=l
},l
.prototype.initEcp=function(l
){var n
=this.form
.get("erasureProfile");l
.length
<=1&&n
.disable(),1===l
.length
?n
.setValue(l
[0]):l
.length
>1&&n
.disabled
&&n
.enable(),this.ecProfiles
=l
},l
.prototype.initEditMode=function(){var l
=this;this.disableForEdit(),this.routeParamsSubscribe
=this.route
.params
.subscribe(function(n
){return l
.poolService
.get(n
.name
).subscribe(function(n
){l
.data
.pool
=n
,l
.initEditFormData(n
)})})},l
.prototype.disableForEdit=function(){var l
=this;["poolType","crushRule","size","erasureProfile","ecOverwrites"].forEach(function(n
){return l
.form
.get(n
).disable()})},l
.prototype.initEditFormData=function(l
){var n
=this;this.initializeConfigData
.emit({initialData
:l
.configuration
,sourceType
:h
.a
.pool
});var e
={name
:l
.pool_name
,poolType
:l
.type
,crushRule
:this.info
["crush_rules_"+l
.type
].find(function(n
){return n
.rule_name
===l
.crush_rule
}),size
:l
.size
,erasureProfile
:this.ecProfiles
.find(function(n
){return n
.name
===l
.erasure_code_profile
}),pgNum
:l
.pg_num
,ecOverwrites
:l
.flags_names
.includes("ec_overwrites"),mode
:l
.options
.compression_mode
,algorithm
:l
.options
.compression_algorithm
,minBlobSize
:this.dimlessBinaryPipe
.transform(l
.options
.compression_min_blob_size
),maxBlobSize
:this.dimlessBinaryPipe
.transform(l
.options
.compression_max_blob_size
),ratio
:l
.options
.compression_required_ratio
};Object
.keys(e
).forEach(function(l
){var u
=e
[l
];i
.isUndefined(u
)||""===u
||n
.form
.silentSet(l
,u
)}),this.data
.pgs
=this.form
.getValue("pgNum"),this.data
.applications
.selected
=l
.application_metadata
},l
.prototype.listenToChanges=function(){this.listenToChangesDuringAddEdit(),this.editing
||this.listenToChangesDuringAdd()},l
.prototype.listenToChangesDuringAddEdit=function(){var l
=this;this.form
.get("pgNum").valueChanges
.subscribe(function(n
){var e
=n
-l
.data
.pgs
;1===Math
.abs(e
)&&2!==n
?l
.doPgPowerJump(e
):l
.data
.pgs
=n
})},l
.prototype.doPgPowerJump=function(l
){var n
=this.calculatePgPower()+l
;this.setPgs(-1===l
?Math
.round(n
):Math
.floor(n
))},l
.prototype.calculatePgPower=function(l
){return void 0===l
&&(l
=this.form
.getValue("pgNum")),Math
.log(l
)/Math
.log(2)},l
.prototype.setPgs=function(l
){var n
=Math
.pow(2,l
<0?0:l
);this.data
.pgs
=n
,this.form
.silentSet("pgNum",n
)},l
.prototype.listenToChangesDuringAdd=function(){var l
=this;this.form
.get("poolType").valueChanges
.subscribe(function(n
){l
.form
.get("size").updateValueAndValidity(),l
.rulesChange(),"replicated"===n
&&l
.replicatedRuleChange(),l
.pgCalc()}),this.form
.get("crushRule").valueChanges
.subscribe(function(){"replicated"===l
.form
.getValue("poolType")&&l
.replicatedRuleChange(),l
.pgCalc()}),this.form
.get("size").valueChanges
.subscribe(function(){l
.pgCalc()}),this.form
.get("erasureProfile").valueChanges
.subscribe(function(){l
.pgCalc()}),this.form
.get("mode").valueChanges
.subscribe(function(){["minBlobSize","maxBlobSize","ratio"].forEach(function(n
){l
.form
.get(n
).updateValueAndValidity({emitEvent
:!1})})}),this.form
.get("minBlobSize").valueChanges
.subscribe(function(){l
.form
.get("maxBlobSize").updateValueAndValidity({emitEvent
:!1})}),this.form
.get("maxBlobSize").valueChanges
.subscribe(function(){l
.form
.get("minBlobSize").updateValueAndValidity({emitEvent
:!1})})},l
.prototype.rulesChange=function(){var l
=this.form
.getValue("poolType");if(l
&&this.info
){var n
=this.info
["crush_rules_"+l
]||[],e
=this.form
.get("crushRule");1===n
.length
?(e
.setValue(n
[0]),e
.disable()):(e
.setValue(null),e
.enable()),this.current
.rules
=n
}else this.current
.rules
=[]},l
.prototype.replicatedRuleChange=function(){if("replicated"===this.form
.getValue("poolType")){var l
=this.form
.get("size"),n
=this.form
.getValue("size")||3,e
=this.getMinSize(),u
=this.getMaxSize();n
<e
?n
=e
:n
>u
&&(n
=u
),n
!==l
.value
&&this.form
.silentSet("size",n
)}},l
.prototype.getMinSize=function(){if(this.info
&&!(this.info
.osd_count
<1)){var l
=this.form
.getValue("crushRule");return l
?l
.min_size
:1}},l
.prototype.getMaxSize=function(){if(this.info
&&!(this.info
.osd_count
<1)){var l
=this.info
.osd_count
;if(this.form
.getValue("crushRule")){var n
=this.form
.get("crushRule").value
.max_size
;if(n
<l
)return n
}return l
}},l
.prototype.pgCalc=function(){var l
=this.form
.getValue("poolType");if(this.info
&&!this.form
.get("pgNum").dirty
&&l
){var n
=100*this.info
.osd_count
,e
="replicated"===l
?this.replicatedPgCalc(n
):this.erasurePgCalc(n
);if(e
){var u
=this.data
.pgs
;this.alignPgs(e
),this.externalPgChange
||(this.externalPgChange
=u
!==this.data
.pgs
)}}},l
.prototype.replicatedPgCalc=function(l
){var n
=this.form
.get("size"),e
=n
.value
;if(n
.valid
&&e
>0)return l
/e},l.prototype.erasurePgCalc=function(l){var n=this.form.get("erasureProfile"),e=n.value;if((n.valid||n.disabled)&&e)return l/(e
.k
+e
.m
)},l
.prototype.alignPgs=function(l
){void 0===l
&&(l
=this.form
.getValue("pgNum")),this.setPgs(Math
.round(this.calculatePgPower(l
<1?1:l
)))},l
.prototype.setComplexValidators=function(){var l
=this;this.editing
?this.form
.get("name").setValidators([this.form
.get("name").validator
,g
.a
.custom("uniqueName",function(n
){return l
.data
.pool
&&l
.info
&&-1!==l
.info
.pool_names
.indexOf(n
)&&l
.info
.pool_names
.indexOf(n
)!==l
.info
.pool_names
.indexOf(l
.data
.pool
.pool_name
)})]):(g
.a
.validateIf(this.form
.get("size"),function(){return"replicated"===l
.form
.get("poolType").value
},[g
.a
.custom("min",function(n
){return l
.form
.getValue("size")&&n
<l
.getMinSize()}),g
.a
.custom("max",function(n
){return l
.form
.getValue("size")&&l
.getMaxSize()<n
})]),this.form
.get("name").setValidators([this.form
.get("name").validator
,g
.a
.custom("uniqueName",function(n
){return l
.info
&&-1!==l
.info
.pool_names
.indexOf(n
)})])),this.setCompressionValidators()},l
.prototype.setCompressionValidators=function(){var l
=this;g
.a
.validateIf(this.form
.get("minBlobSize"),function(){return l
.hasCompressionEnabled()},[o
.A
.min(0),g
.a
.custom("maximum",function(n
){return l
.oddBlobSize(n
,l
.form
.getValue("maxBlobSize"))})]),g
.a
.validateIf(this.form
.get("maxBlobSize"),function(){return l
.hasCompressionEnabled()},[o
.A
.min(0),g
.a
.custom("minimum",function(n
){return l
.oddBlobSize(l
.form
.getValue("minBlobSize"),n
)})]),g
.a
.validateIf(this.form
.get("ratio"),function(){return l
.hasCompressionEnabled()},[o
.A
.min(0),o
.A
.max(1)])},l
.prototype.oddBlobSize=function(l
,n
){return l
=this.formatter
.toBytes(l
),n
=this.formatter
.toBytes(n
),Boolean(l
&&n
&&l
>=n
)},l
.prototype.hasCompressionEnabled=function(){return this.form
.getValue("mode")&&"none"!==this.form
.get("mode").value
.toLowerCase()},l
.prototype.describeCrushStep=function(l
){return[l
.op
.replace("_"," "),l
.item_name
||"",l
.type
?l
.num
+" type "+l
.type
:""].join(" ")},l
.prototype.addErasureCodeProfile=function(){var l
=this;this.modalSubscription
=this.modalService
.onHide
.subscribe(function(){return l
.reloadECPs()}),this.bsModalService
.show(V
)},l
.prototype.reloadECPs=function(){var l
=this;this.ecpService
.list().subscribe(function(n
){return l
.initEcp(n
)}),this.modalSubscription
.unsubscribe()},l
.prototype.deleteErasureCodeProfile=function(){var l
=this,n
=this.form
.getValue("erasureProfile");if(n
){var e
=n
.name
;this.modalSubscription
=this.modalService
.onHide
.subscribe(function(){return l
.reloadECPs()}),this.modalService
.show(f
.a
,{initialState
:{itemDescription
:this.i18n("erasure code profile"),itemNames
:[e
],submitActionObservable:function(){return l
.taskWrapper
.wrapTaskAroundCall({task
:new v
.a("ecp/delete",{name
:e
}),call
:l
.ecpService
.delete(e
)})}}})}},l
.prototype.submit=function(){var l
=this;if(this.form
.invalid
)this.form
.setErrors({cdSubmitButton
:!0});else{var n
={pool
:this.form
.getValue("name")};this.assignFormFields(n
,[{externalFieldName
:"pool_type",formControlName
:"poolType"},{externalFieldName
:"pg_num",formControlName
:"pgNum",editable
:!0},"replicated"===this.form
.getValue("poolType")?{externalFieldName
:"size",formControlName
:"size"}:{externalFieldName
:"erasure_code_profile",formControlName
:"erasureProfile",attr
:"name"},{externalFieldName
:"rule_name",formControlName
:"crushRule",attr
:"rule_name"}]),this.info
.is_all_bluestore
&&(this.assignFormField(n
,{externalFieldName
:"flags",formControlName
:"ecOverwrites",replaceFn:function(){return["ec_overwrites"]}}),"none"!==this.form
.getValue("mode")?this.assignFormFields(n
,[{externalFieldName
:"compression_mode",formControlName
:"mode",editable
:!0,replaceFn:function(n
){return l
.hasCompressionEnabled()&&n
}},{externalFieldName
:"compression_algorithm",formControlName
:"algorithm",editable
:!0},{externalFieldName
:"compression_min_blob_size",formControlName
:"minBlobSize",replaceFn
:this.formatter
.toBytes
,editable
:!0,resetValue
:0},{externalFieldName
:"compression_max_blob_size",formControlName
:"maxBlobSize",replaceFn
:this.formatter
.toBytes
,editable
:!0,resetValue
:0},{externalFieldName
:"compression_required_ratio",formControlName
:"ratio",editable
:!0,resetValue
:0}]):this.editing
&&this.assignFormFields(n
,[{externalFieldName
:"compression_mode",formControlName
:"mode",editable
:!0,replaceFn:function(){return"unset"}},{externalFieldName
:"srcpool",formControlName
:"name",editable
:!0,replaceFn:function(){return l
.data
.pool
.pool_name
}}]));var e
=this.data
.applications
.selected
;(e
.length
>0||this.editing
)&&(n
.application_metadata
=e
),"replicated"!==this.form
.get("poolType").value
||i
.isEmpty(this.currentConfigurationValues
)||(n
.configuration
=this.currentConfigurationValues
),this.triggerApiTask(n
)}},l
.prototype.assignFormFields=function(l
,n
){var e
=this;n
.forEach(function(n
){return e
.assignFormField(l
,n
)})},l
.prototype.assignFormField=function(l
,n
){var e
=n
.externalFieldName
,u
=n
.formControlName
,t
=n
.attr
,o
=n
.replaceFn
,a
=n
.editable
,r
=n
.resetValue
;if(!this.editing
||a
&&!this.form
.get(u
).pristine
){var s
=this.form
.getValue(u
),d
=o
?o(s
):t
?i
.get(s
,t
):s
;if(!s
||!d
){if(!a
||i
.isUndefined(r
))return;d
=r
}l
[e
]=d
}},l
.prototype.triggerApiTask=function(l
){var n
=this;this.taskWrapper
.wrapTaskAroundCall({task
:new v
.a("pool/"+(this.editing
?t
.e
.EDIT
:t
.e
.CREATE
),{pool_name
:l
.hasOwnProperty("srcpool")?l
.srcpool
:l
.pool
}),call
:this.poolService
[this.editing
?t
.e
.UPDATE
:t
.e
.CREATE
](l
)}).subscribe(void 0,function(l
){i
.isObject(l
.error
)&&"34"===l
.error
.code
&&n
.form
.get("pgNum").setErrors({34:!0}),n
.form
.setErrors({cdSubmitButton
:!0})},function(){return n
.router
.navigate(["/pool"])})},l
.prototype.appSelection=function(){this.form
.updateValueAndValidity({emitEvent
:!1,onlySelf
:!0})},l
}(),_
=e("MuvH"),D
=e("uIqm"),k
=e("x38r"),P
=e("yJti"),x
=e("vCyI"),z
=e("o4+5"),F
=e("VTlA"),q
=e("EgGo"),A
=e("d+Og"),O=function(){return function(l
){this.pool_name
=l
}}(),L
=new q
.a("pool"),M=function(){function l(l
,n
,e
,u
,t
,o
,a
,r
,s
,d
,c
){var p
=this;this.poolService
=l
,this.taskWrapper
=n
,this.authStorageService
=e
,this.taskListService
=u
,this.modalService
=t
,this.i18n
=o
,this.pgCategoryService
=a
,this.dimlessPipe
=r
,this.urlBuilder
=s
,this.configurationService
=d
,this.actionLabels
=c
,this.pools
=[],this.selection
=new x
.a
,this.executingTasks
=[],this.selectionCacheTiers
=[],this.monAllowPoolDelete
=!1,this.permissions
=this.authStorageService
.getPermissions(),this.tableActions
=[{permission
:"create",icon
:"fa-plus",routerLink:function(){return p
.urlBuilder
.getCreate()},name
:this.actionLabels
.CREATE
},{permission
:"update",icon
:"fa-pencil",routerLink:function(){return p
.urlBuilder
.getEdit(encodeURIComponent(p
.selection
.first().pool_name
))},name
:this.actionLabels
.EDIT
},{permission
:"delete",icon
:"fa-trash-o",click:function(){return p
.deletePoolModal()},name
:this.actionLabels
.DELETE
,disable:function(){return!p
.selection
.first()||!p
.monAllowPoolDelete
},disableDesc:function(){return p
.getDisableDesc()}}],this.permissions
.configOpt
.read
&&this.configurationService
.get("mon_allow_pool_delete").subscribe(function(l
){if(i
.has(l
,"value")){var n
=i
.find(l
.value
,function(l
){return"mon"===l
.section
})||{value
:!1};p
.monAllowPoolDelete
="true"===n
.value
}})}return l
.prototype.ngOnInit=function(){var l
=this,n=function(l
,n
,e
){return i
.get(n
,l
)>i
.get(e
,l
)?1:-1};this.columns
=[{prop
:"pool_name",name
:this.i18n("Name"),flexGrow
:4,cellTransformation
:k
.a
.executing
},{prop
:"type",name
:this.i18n("Type"),flexGrow
:2},{prop
:"application_metadata",name
:this.i18n("Applications"),flexGrow
:2},{prop
:"pg_status",name
:this.i18n("PG Status"),flexGrow
:3,cellClass:function(n
){return l
.getPgStatusCellClass(n
.row
,n
.column
,n
.value
)}},{prop
:"size",name
:this.i18n("Replica Size"),flexGrow
:1,cellClass
:"text-right"},{prop
:"last_change",name
:this.i18n("Last Change"),flexGrow
:1,cellClass
:"text-right"},{prop
:"erasure_code_profile",name
:this.i18n("Erasure Coded Profile"),flexGrow
:2},{prop
:"crush_rule",name
:this.i18n("Crush Ruleset"),flexGrow
:3},{name
:this.i18n("Usage"),prop
:"usage",cellTemplate
:this.poolUsageTpl
,flexGrow
:3},{prop
:"stats.rd_bytes.rates",name
:this.i18n("Read bytes"),comparator:function(l
,e
,u
,t
){return n("stats.rd_bytes.latest",u
,t
)},cellTransformation
:k
.a
.sparkline
,flexGrow
:3},{prop
:"stats.wr_bytes.rates",name
:this.i18n("Write bytes"),comparator:function(l
,e
,u
,t
){return n("stats.wr_bytes.latest",u
,t
)},cellTransformation
:k
.a
.sparkline
,flexGrow
:3},{prop
:"stats.rd.rate",name
:this.i18n("Read ops"),flexGrow
:1,pipe
:this.dimlessPipe
,cellTransformation
:k
.a
.perSecond
},{prop
:"stats.wr.rate",name
:this.i18n("Write ops"),flexGrow
:1,pipe
:this.dimlessPipe
,cellTransformation
:k
.a
.perSecond
}],this.taskListService
.init(function(){return l
.poolService
.getList()},void 0,function(n
){return l
.pools
=l
.transformPoolsData(n
)},function(){l
.table
.reset(),l
.viewCacheStatusList
=[{status
:P
.a
.ValueException
}]},function(l
){return l
.name
.startsWith("pool/")},function(l
,n
){return n
.metadata
.pool_name
===l
.pool_name
},{default:function(l
){return new O(l
.metadata
.pool_name
)}})},l
.prototype.updateSelection=function(l
){this.selection
=l
,this.getSelectionTiers()},l
.prototype.deletePoolModal=function(){var l
=this,n
=this.selection
.first().pool_name
;this.modalRef
=this.modalService
.show(f
.a
,{initialState
:{itemDescription
:"Pool",itemNames
:[n
],submitActionObservable:function(){return l
.taskWrapper
.wrapTaskAroundCall({task
:new v
.a("pool/"+t
.e
.DELETE
,{pool_name
:n
}),call
:l
.poolService
.delete(n
)})}}})},l
.prototype.getPgStatusCellClass=function(l
,n
,e
){var u
;return(u
={"text-right":!0})["pg-"+this.pgCategoryService
.getTypeByStates(e
)]=!0,u
},l
.prototype.transformPoolsData=function(l
){var n
=this,e
=["bytes_used","max_avail","rd_bytes","wr_bytes","rd","wr"],u
={latest
:0,rate
:0,rates
:[]};return i
.forEach(l
,function(l
){l
.pg_status
=n
.transformPgStatus(l
.pg_status
);var t
={};i
.forEach(e
,function(n
){t
[n
]=l
.stats
&&l
.stats
[n
]?l
.stats
[n
]:u
}),l
.stats
=t
;var o
=t
.bytes_used
.latest
+t
.max_avail
.latest
;l
.usage
=o
>0?t
.bytes_used
.latest
/o
:o
,l
.cdExecuting
||l
.pg_num
+l
.pg_placement_num
===l
.pg_num_target
+l
.pg_placement_num_target
||(l
.cdExecuting
="Updating"),["rd_bytes","wr_bytes"].forEach(function(n
){l
.stats
[n
].rates
=l
.stats
[n
].rates
.map(function(l
){return l
[1]})}),l
.cdIsBinary
=!0}),l
},l
.prototype.transformPgStatus=function(l
){var n
=[];return i
.forEach(l
,function(l
,e
){n
.push(l
+" "+e
)}),n
.join(", ")},l
.prototype.getSelectionTiers=function(){var l
=this.selection
.hasSingleSelection
?this.selection
.first().tiers
:[];this.selectionCacheTiers
=this.pools
.filter(function(n
){return l
.includes(n
.pool
)})},l
.prototype.getDisableDesc=function(){if(!this.monAllowPoolDelete
)return this.i18n("Pool deletion is disabled by the mon_allow_pool_delete configuration setting.")},l
}(),j=function(){return function(){}}(),B
={breadcrumbs
:t
.a
.CREATE
},U
={breadcrumbs
:t
.a
.EDIT
},G=function(){return function(){}}(),K
=e("ES0t"),$=e("MdoF"),J
=e("Xg1U"),H
=e("z5nN"),W
=e("iutN"),Z
=e("EEJc"),Y
=e("PEr+"),X
=e("a40w"),Q
=e("pMnS"),ll
=e("RIVN"),nl
=e("nP0W"),el
=e("VBM6"),ul
=e("atuK"),tl
=e("JIi+"),ol
=e("Ur3J"),il
=e("I4Qz"),al
=e("0rTx"),rl
=e("lz+O"),sl
=e("u2XS"),dl
=e("nhAp"),cl
=e("l7Jr"),pl
=e("bUo2"),fl
=e("Ip0R"),ml
=e("4HWh"),gl
=e("p4Cf"),hl
=e("8xTl"),vl
=e("IZUe"),bl
=e("gp3X"),Cl
=e("sb0X"),Rl
=e("KVJa"),yl
=e("Z21x"),Il
=e("DQlY"),El
=u
["\u0275crt"]({encapsulation
:0,styles
:[[""]],data
:{}});function Vl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["This field is required!"]))],null,null)}function Tl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["The name can only consist of alphanumeric characters, dashes and underscores."]))],null,null)}function wl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["The chosen erasure code profile name is already in use."]))],null,null)}function Sl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["Loading..."]))],function(l
,n
){l(n
,1,0,""),l(n
,2,0,"")},null)}function Nl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](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 _l(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["This field is required!"]))],null,null)}function Dl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function kl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["This field is required!"]))],null,null)}function Pl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Must be equal to or greater than 2."]))],null,null)}function xl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function zl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["This field is required!"]))],null,null)}function Fl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Must be equal to or greater than 1."]))],null,null)}function ql(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Must be equal to or greater than 1."]))],null,null)}function Al(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,17,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](1,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](2,{"has-error":0}),(l()(),u
["\u0275eld"](3,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","c"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Durability estimator (c)"])),(l()(),u
["\u0275eld"](6,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](7,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](8,0,null,null,9,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](9,0,null,null,6,"input",[["class","form-control"],["formControlName","c"],["id","c"],["name","c"],["placeholder","Coding chunks..."],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,10).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._compositionEnd(e
.target
.value
)&&t
),"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onChange(e
.target
.value
)&&t
),"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onTouched()&&t
),t
},null,null)),u
["\u0275did"](10,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275did"](11,16384,null,0,o
.C
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
,n
){return[l
,n
]},[o
.e
,o
.C
]),u
["\u0275did"](13,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](15,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,ql
)),u
["\u0275did"](17,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
,t
=l(n
,2,0,e
.form
.showError("c",u
["\u0275nov"](n
.parent
,12)));l(n
,1,0,"form-group",t
),l(n
,7,0,e
.tooltips
.plugins
.shec
.c
),l(n
,13,0,"c"),l(n
,17,0,e
.form
.showError("c",u
["\u0275nov"](n
.parent
,12),"min"))},function(l
,n
){l(n
,9,0,u
["\u0275nov"](n
,15).ngClassUntouched
,u
["\u0275nov"](n
,15).ngClassTouched
,u
["\u0275nov"](n
,15).ngClassPristine
,u
["\u0275nov"](n
,15).ngClassDirty
,u
["\u0275nov"](n
,15).ngClassValid
,u
["\u0275nov"](n
,15).ngClassInvalid
,u
["\u0275nov"](n
,15).ngClassPending
)})}function Ol(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["This field is required!"]))],null,null)}function Ll(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Must be equal to or greater than 1."]))],null,null)}function Ml(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](1,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](2,{"has-error":0}),(l()(),u
["\u0275eld"](3,0,null,null,5,"label",[["class","control-label col-sm-3"],["for","l"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Locality (l)"])),(l()(),u
["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](7,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](8,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](9,0,null,null,11,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](10,0,null,null,6,"input",[["class","form-control"],["formControlName","l"],["id","l"],["name","l"],["placeholder","Coding chunks..."],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,11)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,11)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,11)._compositionEnd(e
.target
.value
)&&t
),"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,12).onChange(e
.target
.value
)&&t
),"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,12).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,12).onTouched()&&t
),t
},null,null)),u
["\u0275did"](11,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275did"](12,16384,null,0,o
.C
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
,n
){return[l
,n
]},[o
.e
,o
.C
]),u
["\u0275did"](14,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](16,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ol
)),u
["\u0275did"](18,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ll
)),u
["\u0275did"](20,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
,t
=l(n
,2,0,e
.form
.showError("l",u
["\u0275nov"](n
.parent
,12)));l(n
,1,0,"form-group",t
),l(n
,8,0,e
.tooltips
.plugins
.lrc
.l
),l(n
,14,0,"l"),l(n
,18,0,e
.form
.showError("l",u
["\u0275nov"](n
.parent
,12),"required")),l(n
,20,0,e
.form
.showError("l",u
["\u0275nov"](n
.parent
,12),"min"))},function(l
,n
){l(n
,10,0,u
["\u0275nov"](n
,16).ngClassUntouched
,u
["\u0275nov"](n
,16).ngClassTouched
,u
["\u0275nov"](n
,16).ngClassPristine
,u
["\u0275nov"](n
,16).ngClassDirty
,u
["\u0275nov"](n
,16).ngClassValid
,u
["\u0275nov"](n
,16).ngClassInvalid
,u
["\u0275nov"](n
,16).ngClassPending
)})}function jl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["Loading..."]))],function(l
,n
){l(n
,1,0,""),l(n
,2,0,"")},null)}function Bl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](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 Ul(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["Loading..."]))],function(l
,n
){l(n
,1,0,""),l(n
,2,0,"")},null)}function Gl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["None"]))],function(l
,n
){l(n
,1,0,""),l(n
,2,0,"")},null)}function Kl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](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 $l(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","crushLocality"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](2,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Crush Locality"])),(l()(),u
["\u0275eld"](4,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](5,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](6,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](7,0,null,null,11,"select",[["class","form-control"],["formControlName","crushLocality"],["id","crushLocality"],["name","crushLocality"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,8).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,8).onTouched()&&t
),t
},null,null)),u
["\u0275did"](8,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](10,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](12,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ul
)),u
["\u0275did"](14,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Gl
)),u
["\u0275did"](16,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Kl
)),u
["\u0275did"](18,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null)],function(l
,n
){var e
=n
.component
;l(n
,5,0,e
.tooltips
.plugins
.lrc
.crushLocality
),l(n
,10,0,"crushLocality"),l(n
,14,0,!e
.failureDomains
),l(n
,16,0,e
.failureDomains
&&e
.failureDomains
.length
>0),l(n
,18,0,e
.failureDomains
)},function(l
,n
){l(n
,7,0,u
["\u0275nov"](n
,12).ngClassUntouched
,u
["\u0275nov"](n
,12).ngClassTouched
,u
["\u0275nov"](n
,12).ngClassPristine
,u
["\u0275nov"](n
,12).ngClassDirty
,u
["\u0275nov"](n
,12).ngClassValid
,u
["\u0275nov"](n
,12).ngClassInvalid
,u
["\u0275nov"](n
,12).ngClassPending
)})}function Jl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](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 Hl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","technique"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](2,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Technique"])),(l()(),u
["\u0275eld"](4,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](5,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](6,0,null,null,8,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](7,0,null,null,7,"select",[["class","form-control"],["formControlName","technique"],["id","technique"],["name","technique"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,8).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,8).onTouched()&&t
),t
},null,null)),u
["\u0275did"](8,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](10,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](12,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Jl
)),u
["\u0275did"](14,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null)],function(l
,n
){var e
=n
.component
;l(n
,5,0,e
.tooltips
.plugins
[e
.plugin
].technique
),l(n
,10,0,"technique"),l(n
,14,0,e
.techniques
)},function(l
,n
){l(n
,7,0,u
["\u0275nov"](n
,12).ngClassUntouched
,u
["\u0275nov"](n
,12).ngClassTouched
,u
["\u0275nov"](n
,12).ngClassPristine
,u
["\u0275nov"](n
,12).ngClassDirty
,u
["\u0275nov"](n
,12).ngClassValid
,u
["\u0275nov"](n
,12).ngClassInvalid
,u
["\u0275nov"](n
,12).ngClassPending
)})}function Wl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Must be equal to or greater than 1."]))],null,null)}function Zl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,17,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](1,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](2,{"has-error":0}),(l()(),u
["\u0275eld"](3,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","packetSize"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Packetsize"])),(l()(),u
["\u0275eld"](6,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](7,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](8,0,null,null,9,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](9,0,null,null,6,"input",[["class","form-control"],["formControlName","packetSize"],["id","packetSize"],["name","packetSize"],["placeholder","Packetsize..."],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,10).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._compositionEnd(e
.target
.value
)&&t
),"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onChange(e
.target
.value
)&&t
),"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onTouched()&&t
),t
},null,null)),u
["\u0275did"](10,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275did"](11,16384,null,0,o
.C
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
,n
){return[l
,n
]},[o
.e
,o
.C
]),u
["\u0275did"](13,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](15,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Wl
)),u
["\u0275did"](17,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
,t
=l(n
,2,0,e
.form
.showError("packetSize",u
["\u0275nov"](n
.parent
,12)));l(n
,1,0,"form-group",t
),l(n
,7,0,e
.tooltips
.plugins
.jerasure
.packetSize
),l(n
,13,0,"packetSize"),l(n
,17,0,e
.form
.showError("packetSize",u
["\u0275nov"](n
.parent
,12),"min"))},function(l
,n
){l(n
,9,0,u
["\u0275nov"](n
,15).ngClassUntouched
,u
["\u0275nov"](n
,15).ngClassTouched
,u
["\u0275nov"](n
,15).ngClassPristine
,u
["\u0275nov"](n
,15).ngClassDirty
,u
["\u0275nov"](n
,15).ngClassValid
,u
["\u0275nov"](n
,15).ngClassInvalid
,u
["\u0275nov"](n
,15).ngClassPending
)})}function Yl(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](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 Xl(l
){return u
["\u0275vid"](0,[u
["\u0275pid"](0,fl
.TitleCasePipe
,[]),u
["\u0275pid"](0,hl
.a
,[]),(l()(),u
["\u0275eld"](2,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](3,0,null,null,3,"h4",[["class","modal-title pull-left"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](4,null,["","",""])),u
["\u0275ppd"](5,1),u
["\u0275ppd"](6,1),(l()(),u
["\u0275eld"](7,0,null,null,2,"button",[["aria-label","Close"],["class","close pull-right"],["type","button"]],null,[[null,"click"]],function(l
,n
,e
){var u
=!0;return"click"===n
&&(u
=!1!==l
.component
.bsModalRef
.hide()&&u
),u
},null,null)),(l()(),u
["\u0275eld"](8,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["\xd7"])),(l()(),u
["\u0275eld"](10,0,null,null,173,"form",[["class","form-horizontal"],["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
,e
){var t
=!0;return"submit"===n
&&(t
=!1!==u
["\u0275nov"](l
,12).onSubmit(e
)&&t
),"reset"===n
&&(t
=!1!==u
["\u0275nov"](l
,12).onReset()&&t
),t
},null,null)),u
["\u0275did"](11,16384,null,0,o
.D
,[],null,null),u
["\u0275did"](12,540672,[["frm",4]],0,o
.l
,[[8,null],[8,null]],{form
:[0,"form"]},null),u
["\u0275prd"](2048,null,o
.d
,null,[o
.l
]),u
["\u0275did"](14,16384,null,0,o
.s
,[[4,o
.d
]],null,null),(l()(),u
["\u0275eld"](15,0,null,null,160,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](16,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](17,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](18,{"has-error":0}),(l()(),u
["\u0275eld"](19,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","name"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](20,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Name"])),(l()(),u
["\u0275eld"](22,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](23,0,null,null,13,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](24,0,null,null,6,"input",[["autofocus",""],["class","form-control"],["formControlName","name"],["id","name"],["name","name"],["placeholder","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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,26)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,26).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,26)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,26)._compositionEnd(e
.target
.value
)&&t
),t
},null,null)),u
["\u0275did"](25,4210688,null,0,vl
.a
,[u
.ElementRef
],null,null),u
["\u0275did"](26,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.e
]),u
["\u0275did"](28,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](30,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Vl
)),u
["\u0275did"](32,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Tl
)),u
["\u0275did"](34,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,wl
)),u
["\u0275did"](36,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](37,0,null,null,19,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](38,0,null,null,5,"label",[["class","control-label col-sm-3"],["for","plugin"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](39,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Plugin"])),(l()(),u
["\u0275eld"](41,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](42,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](43,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](44,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](45,0,null,null,9,"select",[["class","form-control"],["formControlName","plugin"],["id","plugin"],["name","plugin"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,46).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,46).onTouched()&&t
),t
},null,null)),u
["\u0275did"](46,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](48,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](50,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Sl
)),u
["\u0275did"](52,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Nl
)),u
["\u0275did"](54,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,_l
)),u
["\u0275did"](56,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](57,0,null,null,21,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](58,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](59,{"has-error":0}),(l()(),u
["\u0275eld"](60,0,null,null,6,"label",[["class","control-label col-sm-3"],["for","k"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](61,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Data chunks (k)"])),(l()(),u
["\u0275and"](16777216,null,null,1,null,Dl
)),u
["\u0275did"](64,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](65,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](66,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](67,0,null,null,11,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](68,0,null,null,6,"input",[["class","form-control"],["formControlName","k"],["id","k"],["name","k"],["ng-model","$ctrl.erasureCodeProfile.k"],["placeholder","Data chunks..."],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,69)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,69).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,69)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,69)._compositionEnd(e
.target
.value
)&&t
),"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,70).onChange(e
.target
.value
)&&t
),"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,70).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,70).onTouched()&&t
),t
},null,null)),u
["\u0275did"](69,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275did"](70,16384,null,0,o
.C
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
,n
){return[l
,n
]},[o
.e
,o
.C
]),u
["\u0275did"](72,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](74,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,kl
)),u
["\u0275did"](76,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Pl
)),u
["\u0275did"](78,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](79,0,null,null,21,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](80,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](81,{"has-error":0}),(l()(),u
["\u0275eld"](82,0,null,null,6,"label",[["class","control-label col-sm-3"],["for","m"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](83,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Coding chunks (m)"])),(l()(),u
["\u0275and"](16777216,null,null,1,null,xl
)),u
["\u0275did"](86,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](87,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](88,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](89,0,null,null,11,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](90,0,null,null,6,"input",[["class","form-control"],["formControlName","m"],["id","m"],["name","m"],["placeholder","Coding chunks..."],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,91)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,91).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,91)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,91)._compositionEnd(e
.target
.value
)&&t
),"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,92).onChange(e
.target
.value
)&&t
),"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,92).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,92).onTouched()&&t
),t
},null,null)),u
["\u0275did"](91,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275did"](92,16384,null,0,o
.C
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
,n
){return[l
,n
]},[o
.e
,o
.C
]),u
["\u0275did"](94,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](96,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,zl
)),u
["\u0275did"](98,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Fl
)),u
["\u0275did"](100,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Al
)),u
["\u0275did"](102,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ml
)),u
["\u0275did"](104,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](105,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](106,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","crushFailureDomain"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](107,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Crush failure domain"])),(l()(),u
["\u0275eld"](109,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](110,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](111,0,null,null,10,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](112,0,null,null,9,"select",[["class","form-control"],["formControlName","crushFailureDomain"],["id","crushFailureDomain"],["name","crushFailureDomain"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,113).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,113).onTouched()&&t
),t
},null,null)),u
["\u0275did"](113,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](115,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](117,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,jl
)),u
["\u0275did"](119,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Bl
)),u
["\u0275did"](121,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,$l
)),u
["\u0275did"](123,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,2,null,Hl
)),u
["\u0275did"](125,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),u
["\u0275pad"](126,2),(l()(),u
["\u0275and"](16777216,null,null,1,null,Zl
)),u
["\u0275did"](128,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](129,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](130,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](131,{"has-error":0}),(l()(),u
["\u0275eld"](132,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","crushRoot"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](133,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Crush root"])),(l()(),u
["\u0275eld"](135,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](136,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](137,0,null,null,6,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](138,0,null,null,5,"input",[["class","form-control"],["formControlName","crushRoot"],["id","crushRoot"],["name","crushRoot"],["placeholder","root..."],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,139)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,139).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,139)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,139)._compositionEnd(e
.target
.value
)&&t
),t
},null,null)),u
["\u0275did"](139,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.e
]),u
["\u0275did"](141,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](143,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275eld"](144,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](145,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","crushDeviceClass"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](146,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Crush device class"])),(l()(),u
["\u0275eld"](148,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](149,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](150,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](151,0,null,null,11,"select",[["class","form-control"],["formControlName","crushDeviceClass"],["id","crushDeviceClass"],["name","crushDeviceClass"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,152).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,152).onTouched()&&t
),t
},null,null)),u
["\u0275did"](152,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](154,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](156,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275eld"](157,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](158,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](159,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["any"])),(l()(),u
["\u0275and"](16777216,null,null,1,null,Yl
)),u
["\u0275did"](162,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275eld"](163,0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](164,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","directory"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](165,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Directory"])),(l()(),u
["\u0275eld"](167,0,null,null,1,"cd-helper",[],null,null,null,ml
.b
,ml
.a
)),u
["\u0275did"](168,49152,null,0,gl
.a
,[],{html
:[0,"html"]},null),(l()(),u
["\u0275eld"](169,0,null,null,6,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](170,0,null,null,5,"input",[["class","form-control"],["formControlName","directory"],["id","directory"],["name","directory"],["placeholder","Path..."],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,171)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,171).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,171)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,171)._compositionEnd(e
.target
.value
)&&t
),t
},null,null)),u
["\u0275did"](171,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.e
]),u
["\u0275did"](173,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](175,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275eld"](176,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](177,0,null,null,4,"cd-submit-button",[],null,[[null,"submitAction"]],function(l
,n
,e
){var u
=!0;return"submitAction"===n
&&(u
=!1!==l
.component
.onSubmit()&&u
),u
},bl
.b
,bl
.a
)),u
["\u0275did"](178,114688,null,0,Cl
.a
,[u
.ElementRef
],{form
:[0,"form"]},{submitAction
:"submitAction"}),(l()(),u
["\u0275ted"](179,0,["","",""])),u
["\u0275ppd"](180,1),u
["\u0275ppd"](181,1),(l()(),u
["\u0275eld"](182,0,null,null,1,"cd-back-button",[],null,null,null,Rl
.b
,Rl
.a
)),u
["\u0275did"](183,49152,null,0,yl
.a
,[fl
.Location
,t
.b
],{back
:[0,"back"]},null)],function(l
,n
){var e
=n
.component
;l(n
,12,0,e
.form
);var t
=l(n
,18,0,e
.form
.showError("name",u
["\u0275nov"](n
,12)));l(n
,17,0,"form-group",t
),l(n
,28,0,"name"),l(n
,32,0,e
.form
.showError("name",u
["\u0275nov"](n
,12),"required")),l(n
,34,0,e
.form
.showError("name",u
["\u0275nov"](n
,12),"pattern")),l(n
,36,0,e
.form
.showError("name",u
["\u0275nov"](n
,12),"uniqueName")),l(n
,43,0,e
.tooltips
.plugins
[e
.plugin
].description
),l(n
,48,0,"plugin"),l(n
,52,0,!e
.plugins
),l(n
,54,0,e
.plugins
),l(n
,56,0,e
.form
.showError("name",u
["\u0275nov"](n
,12),"required"));var o
=l(n
,59,0,e
.form
.showError("k",u
["\u0275nov"](n
,12)));l(n
,58,0,"form-group",o
),l(n
,64,0,e
.requiredControls
.includes("k")),l(n
,66,0,e
.tooltips
.k
),l(n
,72,0,"k"),l(n
,76,0,e
.form
.showError("k",u
["\u0275nov"](n
,12),"required")),l(n
,78,0,e
.form
.showError("k",u
["\u0275nov"](n
,12),"min"));var i
=l(n
,81,0,e
.form
.showError("m",u
["\u0275nov"](n
,12)));l(n
,80,0,"form-group",i
),l(n
,86,0,e
.requiredControls
.includes("m")),l(n
,88,0,e
.tooltips
.m
),l(n
,94,0,"m"),l(n
,98,0,e
.form
.showError("m",u
["\u0275nov"](n
,12),"required")),l(n
,100,0,e
.form
.showError("m",u
["\u0275nov"](n
,12),"min")),l(n
,102,0,"shec"===e
.plugin
),l(n
,104,0,e
.plugin
===e
.PLUGIN
.LRC
),l(n
,110,0,e
.tooltips
.crushFailureDomain
),l(n
,115,0,"crushFailureDomain"),l(n
,119,0,!e
.failureDomains
),l(n
,121,0,e
.failureDomains
),l(n
,123,0,e
.plugin
===e
.PLUGIN
.LRC
);var a
=l(n
,126,0,e
.PLUGIN
.JERASURE
,e
.PLUGIN
.ISA
).includes(e
.plugin
);l(n
,125,0,a
),l(n
,128,0,e
.plugin
===e
.PLUGIN
.JERASURE
);var r
=l(n
,131,0,e
.form
.showError("crushRoot",u
["\u0275nov"](n
,12)));l(n
,130,0,"form-group",r
),l(n
,136,0,e
.tooltips
.crushRoot
),l(n
,141,0,"crushRoot"),l(n
,149,0,e
.tooltips
.crushDeviceClass
),l(n
,154,0,"crushDeviceClass"),l(n
,158,0,""),l(n
,159,0,""),l(n
,162,0,e
.devices
),l(n
,168,0,e
.tooltips
.directory
),l(n
,173,0,"directory"),l(n
,178,0,u
["\u0275nov"](n
,12)),l(n
,183,0,e
.bsModalRef
.hide
)},function(l
,n
){var e
=n
.component
,t
=u
["\u0275unv"](n
,4,0,l(n
,5,0,u
["\u0275nov"](n
,0),e
.action
)),o
=u
["\u0275unv"](n
,4,1,l(n
,6,0,u
["\u0275nov"](n
,1),e
.resource
));l(n
,4,0,t
,o
),l(n
,10,0,u
["\u0275nov"](n
,14).ngClassUntouched
,u
["\u0275nov"](n
,14).ngClassTouched
,u
["\u0275nov"](n
,14).ngClassPristine
,u
["\u0275nov"](n
,14).ngClassDirty
,u
["\u0275nov"](n
,14).ngClassValid
,u
["\u0275nov"](n
,14).ngClassInvalid
,u
["\u0275nov"](n
,14).ngClassPending
),l(n
,24,0,u
["\u0275nov"](n
,30).ngClassUntouched
,u
["\u0275nov"](n
,30).ngClassTouched
,u
["\u0275nov"](n
,30).ngClassPristine
,u
["\u0275nov"](n
,30).ngClassDirty
,u
["\u0275nov"](n
,30).ngClassValid
,u
["\u0275nov"](n
,30).ngClassInvalid
,u
["\u0275nov"](n
,30).ngClassPending
),l(n
,45,0,u
["\u0275nov"](n
,50).ngClassUntouched
,u
["\u0275nov"](n
,50).ngClassTouched
,u
["\u0275nov"](n
,50).ngClassPristine
,u
["\u0275nov"](n
,50).ngClassDirty
,u
["\u0275nov"](n
,50).ngClassValid
,u
["\u0275nov"](n
,50).ngClassInvalid
,u
["\u0275nov"](n
,50).ngClassPending
),l(n
,68,0,u
["\u0275nov"](n
,74).ngClassUntouched
,u
["\u0275nov"](n
,74).ngClassTouched
,u
["\u0275nov"](n
,74).ngClassPristine
,u
["\u0275nov"](n
,74).ngClassDirty
,u
["\u0275nov"](n
,74).ngClassValid
,u
["\u0275nov"](n
,74).ngClassInvalid
,u
["\u0275nov"](n
,74).ngClassPending
),l(n
,90,0,u
["\u0275nov"](n
,96).ngClassUntouched
,u
["\u0275nov"](n
,96).ngClassTouched
,u
["\u0275nov"](n
,96).ngClassPristine
,u
["\u0275nov"](n
,96).ngClassDirty
,u
["\u0275nov"](n
,96).ngClassValid
,u
["\u0275nov"](n
,96).ngClassInvalid
,u
["\u0275nov"](n
,96).ngClassPending
),l(n
,112,0,u
["\u0275nov"](n
,117).ngClassUntouched
,u
["\u0275nov"](n
,117).ngClassTouched
,u
["\u0275nov"](n
,117).ngClassPristine
,u
["\u0275nov"](n
,117).ngClassDirty
,u
["\u0275nov"](n
,117).ngClassValid
,u
["\u0275nov"](n
,117).ngClassInvalid
,u
["\u0275nov"](n
,117).ngClassPending
),l(n
,138,0,u
["\u0275nov"](n
,143).ngClassUntouched
,u
["\u0275nov"](n
,143).ngClassTouched
,u
["\u0275nov"](n
,143).ngClassPristine
,u
["\u0275nov"](n
,143).ngClassDirty
,u
["\u0275nov"](n
,143).ngClassValid
,u
["\u0275nov"](n
,143).ngClassInvalid
,u
["\u0275nov"](n
,143).ngClassPending
),l(n
,151,0,u
["\u0275nov"](n
,156).ngClassUntouched
,u
["\u0275nov"](n
,156).ngClassTouched
,u
["\u0275nov"](n
,156).ngClassPristine
,u
["\u0275nov"](n
,156).ngClassDirty
,u
["\u0275nov"](n
,156).ngClassValid
,u
["\u0275nov"](n
,156).ngClassInvalid
,u
["\u0275nov"](n
,156).ngClassPending
),l(n
,170,0,u
["\u0275nov"](n
,175).ngClassUntouched
,u
["\u0275nov"](n
,175).ngClassTouched
,u
["\u0275nov"](n
,175).ngClassPristine
,u
["\u0275nov"](n
,175).ngClassDirty
,u
["\u0275nov"](n
,175).ngClassValid
,u
["\u0275nov"](n
,175).ngClassInvalid
,u
["\u0275nov"](n
,175).ngClassPending
);var i
=u
["\u0275unv"](n
,179,0,l(n
,180,0,u
["\u0275nov"](n
,0),e
.action
)),a
=u
["\u0275unv"](n
,179,1,l(n
,181,0,u
["\u0275nov"](n
,1),e
.resource
));l(n
,179,0,i
,a
)})}function Ql(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"cd-erasure-code-profile-form",[],null,null,null,Xl
,El
)),u
["\u0275did"](1,114688,null,0,V
,[I
.a
,Il
.a
,y
.a
,c
,s
.a
,t
.b
],null,null)],function(l
,n
){l(n
,1,0)},null)}var ln
=u
["\u0275ccf"]("cd-erasure-code-profile-form",V
,Ql
,{},{submitAction
:"submitAction"},[]),nn
=e("iExv"),en
=e("85J/"),un
=e("+0ag"),tn
=e("IzCI"),on
=e("Dwqy"),an
=e("uYzU"),rn
=e("uhwM"),sn
=e("E2fk"),dn
=e("a0VL"),cn
=e("nSDx"),pn
=e("SB+Q"),fn
=e("TYzs"),mn
=e("BQkM"),gn
=e("dEH0"),hn
=e("G1/K"),vn
=e("lTVp"),bn
=e("OZfm"),Cn
=e("NJnL"),Rn
=e("lqqz"),yn
=e("eajB"),In
=e("FO+L"),En
=e("ZYjt"),Vn
=e("nhM1"),Tn
=e("BARL"),wn
=e("xtZt"),Sn
=e("Avrn"),Nn
=e("ZYCi"),_n
=e("urB8"),Dn
=e("JZ5S"),kn
=e("Tff5"),Pn
=e("YAQW"),xn
=e("Da1D"),zn
=e("ARl4"),Fn
=e("kJI8"),qn
=e("9Xeq"),An
=e("xdbM"),On
=e("yGOH"),Ln
=e("V/fk"),Mn
=e("F8xH"),jn
=e("ChqD"),Bn
=e("PCNd"),Un
=e("STEd"),Gn
=e("kccj"),Kn
=e("k/xb"),$n
=e("C6Ij"),Jn
=e("AWcq"),Hn
=e("xSw7"),Wn
=e("GgAd"),Zn
=e("a278"),Yn
=e("insk"),Xn
=e("mSOc"),Qn
=e("20UP"),le
=e("pKUh"),ne
=e("25BL"),ee
=e("NUGo"),ue
=e("S7zO"),te
=e("EFGL"),oe
=e("aAWM"),ie
=e("o8EM"),ae
=e("sLuX"),re
=e("FSuO"),se
=(e("jKX/"),function(){function l(l
,n
){this.i18n
=l
,this.poolService
=n
,this.cacheTierColumns
=[],this.cacheTierColumns
=[{prop
:"pool_name",name
:this.i18n("Name"),flexGrow
:3},{prop
:"cache_mode",name
:this.i18n("Cache Mode"),flexGrow
:2},{prop
:"cache_min_evict_age",name
:this.i18n("Min Evict Age"),flexGrow
:2},{prop
:"cache_min_flush_age",name
:this.i18n("Min Flush Age"),flexGrow
:2},{prop
:"target_max_bytes",name
:this.i18n("Target Max Bytes"),flexGrow
:2},{prop
:"target_max_objects",name
:this.i18n("Target Max Objects"),flexGrow
:2}]}return l
.prototype.ngOnChanges=function(){var l
=this;this.selection
.hasSingleSelection
&&this.poolService
.getConfiguration(this.selection
.first().pool_name
).subscribe(function(n
){l
.selectedPoolConfiguration
=n
})},l
.prototype.filterNonPoolData=function(l
){return i
.omit(l
,["cdExecuting","cdIsBinary"])},l
}()),de
=u
["\u0275crt"]({encapsulation
:0,styles
:[[""]],data
:{}});function ce(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"tab",[["heading","Performance Details"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),u
["\u0275did"](1,212992,null,0,Pn
.b
,[Pn
.d
,u
.ElementRef
,u
.Renderer2
],{heading
:[0,"heading"]},null),(l()(),u
["\u0275eld"](2,0,null,null,1,"cd-grafana",[["grafanaStyle","one"],["uid","-xyV8KCiz"]],null,null,null,Zn
.b
,Zn
.a
)),u
["\u0275did"](3,638976,null,0,Yn
.a
,[Xn
.a
,En
.DomSanitizer
,Qn
.a
,un
.a
,s
.a
],{grafanaPath
:[0,"grafanaPath"],grafanaStyle
:[1,"grafanaStyle"],uid
:[2,"uid"]},null)],function(l
,n
){var e
=n
.component
;l(n
,1,0,"Performance Details"),l(n
,3,0,"ceph-pool-detail?var-pool_name="+e
.selection
.first().pool_name
,"one","-xyV8KCiz")},function(l
,n
){l(n
,0,0,u
["\u0275nov"](n
,1).id
,u
["\u0275nov"](n
,1).active
,u
["\u0275nov"](n
,1).addClass
)})}function pe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"tab",[["heading","Configuration"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),u
["\u0275did"](1,212992,null,0,Pn
.b
,[Pn
.d
,u
.ElementRef
,u
.Renderer2
],{heading
:[0,"heading"]},null),(l()(),u
["\u0275eld"](2,0,null,null,1,"cd-rbd-configuration-table",[],null,null,null,te
.b
,te
.a
)),u
["\u0275did"](3,638976,null,0,oe
.a
,[R
.a
,ie
.a
,s
.a
],{data
:[0,"data"]},null)],function(l
,n
){var e
=n
.component
;l(n
,1,0,"Configuration"),l(n
,3,0,e
.selectedPoolConfiguration
)},function(l
,n
){l(n
,0,0,u
["\u0275nov"](n
,1).id
,u
["\u0275nov"](n
,1).active
,u
["\u0275nov"](n
,1).addClass
)})}function fe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"tab",[["heading","Cache Tiers Details"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),u
["\u0275did"](1,212992,null,0,Pn
.b
,[Pn
.d
,u
.ElementRef
,u
.Renderer2
],{heading
:[0,"heading"]},null),(l()(),u
["\u0275eld"](2,0,null,null,1,"cd-table",[["columnMode","flex"]],null,null,null,ne
.b
,ne
.a
)),u
["\u0275did"](3,2867200,null,0,D
.a
,[u
.NgZone
,u
.ChangeDetectorRef
],{data
:[0,"data"],columns
:[1,"columns"],columnMode
:[2,"columnMode"],autoSave
:[3,"autoSave"]},null)],function(l
,n
){var e
=n
.component
;l(n
,1,0,"Cache Tiers Details"),l(n
,3,0,e
.cacheTiers
,e
.cacheTierColumns
,"flex",!1)},function(l
,n
){l(n
,0,0,u
["\u0275nov"](n
,1).id
,u
["\u0275nov"](n
,1).active
,u
["\u0275nov"](n
,1).addClass
)})}function me(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,11,"tabset",[["cdTableDetail",""]],[[2,"tab-container",null]],null,null,le
.b
,le
.a
)),u
["\u0275did"](1,180224,[[1,4],["tabsetChild",4]],0,Pn
.d
,[Pn
.e
,u
.Renderer2
],null,null),(l()(),u
["\u0275eld"](2,0,null,0,3,"tab",[["heading","Details"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),u
["\u0275did"](3,212992,null,0,Pn
.b
,[Pn
.d
,u
.ElementRef
,u
.Renderer2
],{heading
:[0,"heading"]},null),(l()(),u
["\u0275eld"](4,0,null,null,1,"cd-table-key-value",[],null,null,null,ae
.b
,ae
.a
)),u
["\u0275did"](5,638976,null,0,re
.a
,[dn
.a
],{data
:[0,"data"],autoReload
:[1,"autoReload"],renderObjects
:[2,"renderObjects"]},null),(l()(),u
["\u0275and"](16777216,null,0,1,null,ce
)),u
["\u0275did"](7,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,0,1,null,pe
)),u
["\u0275did"](9,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,0,1,null,fe
)),u
["\u0275did"](11,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
;l(n
,3,0,"Details"),l(n
,5,0,e
.filterNonPoolData(e
.selection
.first()),!1,!0),l(n
,7,0,e
.permissions
.grafana
.read
),l(n
,9,0,"replicated"===e
.selection
.first().type
),l(n
,11,0,e
.selection
.first().tiers
.length
>0)},function(l
,n
){l(n
,0,0,u
["\u0275nov"](n
,1).clazz
),l(n
,2,0,u
["\u0275nov"](n
,3).id
,u
["\u0275nov"](n
,3).active
,u
["\u0275nov"](n
,3).addClass
)})}function ge(l
){return u
["\u0275vid"](0,[u
["\u0275qud"](671088640,1,{tabsetChild
:0}),(l()(),u
["\u0275and"](16777216,null,null,1,null,me
)),u
["\u0275did"](2,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){l(n
,2,0,n
.component
.selection
.hasSingleSelection
)},null)}var he
=e("ufoC"),ve
=u
["\u0275crt"]({encapsulation
:0,styles
:[[".pg-clean{color:#0b0} .pg-working{color:#2b99a8} .pg-warning{color:#ffc200} .pg-unknown{color:red}"]],data
:{}});function be(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"cd-view-cache",[],null,null,null,$n
.b
,$n
.a
)),u
["\u0275did"](1,114688,null,0,Jn
.a
,[],{status
:[0,"status"],statusFor
:[1,"statusFor"]},null)],function(l
,n
){l(n
,1,0,n
.context
.$implicit
.status
,n
.context
.$implicit
.statusFor
)},null)}function Ce(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"cd-usage-bar",[],null,null,null,Hn
.b
,Hn
.a
)),u
["\u0275did"](1,573440,null,0,Wn
.a
,[],{totalBytes
:[0,"totalBytes"],usedBytes
:[1,"usedBytes"]},null)],function(l
,n
){l(n
,1,0,n
.parent
.context
.row
.stats
.bytes_used
.latest
+n
.parent
.context
.row
.stats
.max_avail
.latest
,n
.parent
.context
.row
.stats
.bytes_used
.latest
)},null)}function Re(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275and"](16777216,null,null,1,null,Ce
)),u
["\u0275did"](1,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](0,null,null,0))],function(l
,n
){l(n
,1,0,null==n
.context
.row
.stats
?null:null==n
.context
.row
.stats
.max_avail
?null:n
.context
.row
.stats
.max_avail
.latest
)},null)}function ye(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"tab",[["heading","Overall Performance"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),u
["\u0275did"](1,212992,null,0,Pn
.b
,[Pn
.d
,u
.ElementRef
,u
.Renderer2
],{heading
:[0,"heading"]},null),(l()(),u
["\u0275eld"](2,0,null,null,1,"cd-grafana",[["grafanaStyle","two"],["uid","z99hzWtmk"]],null,null,null,Zn
.b
,Zn
.a
)),u
["\u0275did"](3,638976,null,0,Yn
.a
,[Xn
.a
,En
.DomSanitizer
,Qn
.a
,un
.a
,s
.a
],{grafanaPath
:[0,"grafanaPath"],grafanaStyle
:[1,"grafanaStyle"],uid
:[2,"uid"]},null)],function(l
,n
){l(n
,1,0,"Overall Performance"),l(n
,3,0,"ceph-pools-overview?","two","z99hzWtmk")},function(l
,n
){l(n
,0,0,u
["\u0275nov"](n
,1).id
,u
["\u0275nov"](n
,1).active
,u
["\u0275nov"](n
,1).addClass
)})}function Ie(l
){return u
["\u0275vid"](0,[u
["\u0275qud"](402653184,1,{table
:0}),u
["\u0275qud"](402653184,2,{poolUsageTpl
:0}),u
["\u0275qud"](402653184,3,{poolConfigurationSourceTpl
:0}),(l()(),u
["\u0275eld"](3,0,null,null,14,"tabset",[],[[2,"tab-container",null]],null,null,le
.b
,le
.a
)),u
["\u0275did"](4,180224,null,0,Pn
.d
,[Pn
.e
,u
.Renderer2
],null,null),(l()(),u
["\u0275eld"](5,0,null,0,10,"tab",[["heading","Pools List"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),u
["\u0275did"](6,212992,null,0,Pn
.b
,[Pn
.d
,u
.ElementRef
,u
.Renderer2
],{heading
:[0,"heading"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,be
)),u
["\u0275did"](8,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275eld"](9,0,null,null,5,"cd-table",[["selectionType","single"]],null,[[null,"updateSelection"]],function(l
,n
,e
){var u
=!0;return"updateSelection"===n
&&(u
=!1!==l
.component
.updateSelection(e
)&&u
),u
},ne
.b
,ne
.a
)),u
["\u0275did"](10,2867200,[[1,4],["table",4]],0,D
.a
,[u
.NgZone
,u
.ChangeDetectorRef
],{data
:[0,"data"],columns
:[1,"columns"],selectionType
:[2,"selectionType"]},{updateSelection
:"updateSelection"}),(l()(),u
["\u0275eld"](11,0,null,0,1,"cd-table-actions",[["class","table-actions"]],null,null,null,ee
.b
,ee
.a
)),u
["\u0275did"](12,114688,null,0,ue
.a
,[],{permission
:[0,"permission"],selection
:[1,"selection"],tableActions
:[2,"tableActions"]},null),(l()(),u
["\u0275eld"](13,0,null,2,1,"cd-pool-details",[["cdTableDetail",""]],null,null,null,ge
,de
)),u
["\u0275did"](14,573440,null,0,se
,[s
.a
,p
.a
],{selection
:[0,"selection"],permissions
:[1,"permissions"],cacheTiers
:[2,"cacheTiers"]},null),(l()(),u
["\u0275and"](0,[[2,2],["poolUsageTpl",2]],null,0,null,Re
)),(l()(),u
["\u0275and"](16777216,null,0,1,null,ye
)),u
["\u0275did"](17,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
;l(n
,6,0,"Pools List"),l(n
,8,0,e
.viewCacheStatusList
),l(n
,10,0,e
.pools
,e
.columns
,"single"),l(n
,12,0,e
.permissions
.pool
,e
.selection
,e
.tableActions
),l(n
,14,0,e
.selection
,e
.permissions
,e
.selectionCacheTiers
),l(n
,17,0,e
.permissions
.grafana
.read
)},function(l
,n
){l(n
,3,0,u
["\u0275nov"](n
,4).clazz
),l(n
,5,0,u
["\u0275nov"](n
,6).id
,u
["\u0275nov"](n
,6).active
,u
["\u0275nov"](n
,6).addClass
)})}function Ee(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"cd-pool-list",[],null,null,null,Ie
,ve
)),u
["\u0275prd"](131584,null,F
.a
,F
.a
,[he
.a
,Xn
.a
]),u
["\u0275prd"](256,null,q
.a
,L
,[]),u
["\u0275did"](3,114688,null,0,M
,[p
.a
,y
.a
,C
.a
,F
.a
,Il
.b
,s
.a
,A
.a
,z
.a
,q
.a
,_
.a
,t
.b
],null,null)],function(l
,n
){l(n
,3,0)},null)}var Ve
=u
["\u0275ccf"]("cd-pool-list",M
,Ee
,{},{},[]),Te
=e("EmSq"),we
=e("pYKc"),Se
=e("ppaS"),Ne
=e("BH9v"),_e
=e("rFfW"),De
=u
["\u0275crt"]({encapsulation
:0,styles
:[[".crush-rule-steps[_ngcontent-%COMP%]{margin-top:10px}"]],data
:{}});function ke(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"h1",[["class","jumbotron"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,0,"i",[["class","fa fa-lg fa-pulse fa-spinner text-primary"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](2,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Loading..."]))],null,null)}function Pe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["This field is required!"]))],null,null)}function xe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["The chosen Ceph pool name is already in use."]))],null,null)}function ze(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{value
:[0,"value"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{value
:[0,"value"]},null),(l()(),u
["\u0275ted"](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 Fe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["This field is required!"]))],null,null)}function qe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["This field is required!"]))],null,null)}function Ae(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["At least one placement group is needed!"]))],null,null)}function Oe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Your cluster can't handle this many PGs. Please recalculate the PG amount needed."]))],null,null)}function Le(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["The current PGs settings were calculated for you, you should make sure the values suit your needs before submit."]))],null,null)}function Me(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](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
.rule_name
)})}function je(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"li",[],null,null,null,null,null)),(l()(),u
["\u0275ted"](1,null,[" "," "]))],null,function(l
,n
){l(n
,1,0,n
.component
.describeCrushStep(n
.context
.$implicit
))})}function Be(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,11,"span",[["class","help-block"],["id","crush-info-block"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,10,"tabset",[],[[2,"tab-container",null]],null,null,le
.b
,le
.a
)),u
["\u0275did"](2,180224,null,0,Pn
.d
,[Pn
.e
,u
.Renderer2
],null,null),(l()(),u
["\u0275eld"](3,0,null,0,3,"tab",[["class","crush-rule-info"],["heading","Crush rule"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),u
["\u0275did"](4,212992,null,0,Pn
.b
,[Pn
.d
,u
.ElementRef
,u
.Renderer2
],{heading
:[0,"heading"]},null),(l()(),u
["\u0275eld"](5,0,null,null,1,"cd-table-key-value",[],null,null,null,ae
.b
,ae
.a
)),u
["\u0275did"](6,638976,null,0,re
.a
,[dn
.a
],{data
:[0,"data"],autoReload
:[1,"autoReload"],renderObjects
:[2,"renderObjects"]},null),(l()(),u
["\u0275eld"](7,0,null,0,4,"tab",[["class","crush-rule-steps"],["heading","Crush steps"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),u
["\u0275did"](8,212992,null,0,Pn
.b
,[Pn
.d
,u
.ElementRef
,u
.Renderer2
],{heading
:[0,"heading"]},null),(l()(),u
["\u0275eld"](9,0,null,null,2,"ol",[],null,null,null,null,null)),(l()(),u
["\u0275and"](16777216,null,null,1,null,je
)),u
["\u0275did"](11,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null)],function(l
,n
){var e
=n
.component
;l(n
,4,0,"Crush rule"),l(n
,6,0,e
.form
.getValue("crushRule"),!1,!0),l(n
,8,0,"Crush steps"),l(n
,11,0,e
.form
.get("crushRule").value
.steps
)},function(l
,n
){l(n
,1,0,u
["\u0275nov"](n
,2).clazz
),l(n
,3,0,u
["\u0275nov"](n
,4).id
,u
["\u0275nov"](n
,4).active
,u
["\u0275nov"](n
,4).addClass
),l(n
,7,0,u
["\u0275nov"](n
,8).id
,u
["\u0275nov"](n
,8).active
,u
["\u0275nov"](n
,8).addClass
)})}function Ue(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["The rule can't be used in the current cluster as it has to few OSDs to meet the minimum required OSD by this rule."]))],null,null)}function Ge(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,27,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](1,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](2,{"has-error":0}),(l()(),u
["\u0275eld"](3,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","crushRule"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Crush ruleset"])),(l()(),u
["\u0275eld"](5,0,null,null,22,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](6,0,null,null,17,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](7,0,null,null,11,"select",[["class","form-control"],["formControlName","crushRule"],["id","crushRule"],["name","crushSet"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,8).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,8).onTouched()&&t
),t
},null,null)),u
["\u0275did"](8,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](10,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](12,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275eld"](13,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](14,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](15,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["-- Select a crush rule --"])),(l()(),u
["\u0275and"](16777216,null,null,1,null,Me
)),u
["\u0275did"](18,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275eld"](19,0,null,null,4,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](20,0,null,null,3,"button",[["class","btn btn-default"],["id","crush-info-button"],["type","button"]],null,[[null,"click"]],function(l
,n
,e
){var u
=!0,t
=l
.component
;return"click"===n
&&(u
=0!=(t
.data
.crushInfo
=!t
.data
.crushInfo
)&&u
),u
},null,null)),u
["\u0275did"](21,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](22,{active
:0}),(l()(),u
["\u0275eld"](23,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-question-circle"]],null,null,null,null,null)),(l()(),u
["\u0275and"](16777216,null,null,1,null,Be
)),u
["\u0275did"](25,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ue
)),u
["\u0275did"](27,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
,t
=l(n
,2,0,e
.form
.showError("crushRule",u
["\u0275nov"](n
.parent
.parent
,2)));l(n
,1,0,"form-group",t
),l(n
,10,0,"crushRule"),l(n
,14,0,null),l(n
,15,0,null),l(n
,18,0,e
.current
.rules
);var o
=l(n
,22,0,e
.data
.crushInfo
);l(n
,21,0,"btn btn-default",o
),l(n
,25,0,e
.data
.crushInfo
&&e
.form
.getValue("crushRule")),l(n
,27,0,e
.form
.showError("crushRule",u
["\u0275nov"](n
.parent
.parent
,2),"tooFewOsds"))},function(l
,n
){l(n
,7,0,u
["\u0275nov"](n
,12).ngClassUntouched
,u
["\u0275nov"](n
,12).ngClassTouched
,u
["\u0275nov"](n
,12).ngClassPristine
,u
["\u0275nov"](n
,12).ngClassDirty
,u
["\u0275nov"](n
,12).ngClassValid
,u
["\u0275nov"](n
,12).ngClassInvalid
,u
["\u0275nov"](n
,12).ngClassPending
)})}function Ke(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,5,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,4,"ul",[["class","list-inline"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](2,0,null,null,1,"li",[],null,null,null,null,null)),(l()(),u
["\u0275ted"](3,null,["Minimum: ",""])),(l()(),u
["\u0275eld"](4,0,null,null,1,"li",[],null,null,null,null,null)),(l()(),u
["\u0275ted"](5,null,["Maximum: ",""]))],null,function(l
,n
){var e
=n
.component
;l(n
,3,0,e
.getMinSize()),l(n
,5,0,e
.getMaxSize())})}function $e(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](1,null,["The size specified is out of range. A value from "," to "," is valid."]))],null,function(l
,n
){var e
=n
.component
;l(n
,1,0,e
.getMinSize(),e
.getMaxSize())})}function Je(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](1,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](2,{"has-error":0}),(l()(),u
["\u0275eld"](3,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","size"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Replicated size"])),(l()(),u
["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](7,0,null,null,11,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](8,0,null,null,6,"input",[["class","form-control"],["formControlName","size"],["id","size"],["name","size"],["type","number"]],[[8,"max",0],[8,"min",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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,9)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,9).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,9)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,9)._compositionEnd(e
.target
.value
)&&t
),"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,10).onChange(e
.target
.value
)&&t
),"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,10).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,10).onTouched()&&t
),t
},null,null)),u
["\u0275did"](9,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275did"](10,16384,null,0,o
.C
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
,n
){return[l
,n
]},[o
.e
,o
.C
]),u
["\u0275did"](12,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](14,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ke
)),u
["\u0275did"](16,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,$e
)),u
["\u0275did"](18,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
,t
=l(n
,2,0,e
.form
.showError("size",u
["\u0275nov"](n
.parent
.parent
,2)));l(n
,1,0,"form-group",t
),l(n
,12,0,"size"),l(n
,16,0,e
.form
.showError("size",u
["\u0275nov"](n
.parent
.parent
,2))),l(n
,18,0,e
.form
.showError("size",u
["\u0275nov"](n
.parent
.parent
,2)))},function(l
,n
){var e
=n
.component
;l(n
,8,0,e
.getMaxSize(),e
.getMinSize(),u
["\u0275nov"](n
,14).ngClassUntouched
,u
["\u0275nov"](n
,14).ngClassTouched
,u
["\u0275nov"](n
,14).ngClassPristine
,u
["\u0275nov"](n
,14).ngClassDirty
,u
["\u0275nov"](n
,14).ngClassValid
,u
["\u0275nov"](n
,14).ngClassInvalid
,u
["\u0275nov"](n
,14).ngClassPending
)})}function He(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["Loading..."]))],function(l
,n
){l(n
,1,0,""),l(n
,2,0,"")},null)}function We(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["-- No erasure code profile available --"]))],function(l
,n
){l(n
,1,0,null),l(n
,2,0,null)},null)}function Ze(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["-- Select an erasure code profile --"]))],function(l
,n
){l(n
,1,0,null),l(n
,2,0,null)},null)}function Ye(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](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
.name
)})}function Xe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,2,"span",[["class","help-block"],["id","ecp-info-block"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,1,"cd-table-key-value",[],null,null,null,ae
.b
,ae
.a
)),u
["\u0275did"](2,638976,null,0,re
.a
,[dn
.a
],{data
:[0,"data"],autoReload
:[1,"autoReload"],renderObjects
:[2,"renderObjects"]},null)],function(l
,n
){l(n
,2,0,n
.component
.form
.getValue("erasureProfile"),!1,!0)},null)}function Qe(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,29,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","erasureProfile"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Erasure code profile"])),(l()(),u
["\u0275eld"](3,0,null,null,26,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](4,0,null,null,23,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](5,0,null,null,13,"select",[["class","form-control"],["formControlName","erasureProfile"],["id","erasureProfile"],["name","erasureProfile"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,6).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,6).onTouched()&&t
),t
},null,null)),u
["\u0275did"](6,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](8,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](10,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,He
)),u
["\u0275did"](12,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,We
)),u
["\u0275did"](14,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ze
)),u
["\u0275did"](16,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ye
)),u
["\u0275did"](18,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275eld"](19,0,null,null,8,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](20,0,null,null,3,"button",[["class","btn btn-default"],["id","ecp-info-button"],["type","button"]],null,[[null,"click"]],function(l
,n
,e
){var u
=!0,t
=l
.component
;return"click"===n
&&(u
=0!=(t
.data
.erasureInfo
=!t
.data
.erasureInfo
)&&u
),u
},null,null)),u
["\u0275did"](21,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](22,{active
:0}),(l()(),u
["\u0275eld"](23,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-question-circle"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](24,0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(l
,n
,e
){var u
=!0;return"click"===n
&&(u
=!1!==l
.component
.addErasureCodeProfile()&&u
),u
},null,null)),(l()(),u
["\u0275eld"](25,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-plus"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](26,0,null,null,1,"button",[["class","btn btn-default"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(l
,n
,e
){var u
=!0;return"click"===n
&&(u
=!1!==l
.component
.deleteErasureCodeProfile()&&u
),u
},null,null)),(l()(),u
["\u0275eld"](27,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-trash-o"]],null,null,null,null,null)),(l()(),u
["\u0275and"](16777216,null,null,1,null,Xe
)),u
["\u0275did"](29,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
;l(n
,8,0,"erasureProfile"),l(n
,12,0,!e
.ecProfiles
),l(n
,14,0,e
.ecProfiles
&&0===e
.ecProfiles
.length
),l(n
,16,0,e
.ecProfiles
&&e
.ecProfiles
.length
>0),l(n
,18,0,e
.ecProfiles
);var u
=l(n
,22,0,e
.data
.erasureInfo
);l(n
,21,0,"btn btn-default",u
),l(n
,29,0,e
.data
.erasureInfo
&&e
.form
.getValue("erasureProfile"))},function(l
,n
){var e
=n
.component
;l(n
,5,0,u
["\u0275nov"](n
,10).ngClassUntouched
,u
["\u0275nov"](n
,10).ngClassTouched
,u
["\u0275nov"](n
,10).ngClassPristine
,u
["\u0275nov"](n
,10).ngClassDirty
,u
["\u0275nov"](n
,10).ngClassValid
,u
["\u0275nov"](n
,10).ngClassInvalid
,u
["\u0275nov"](n
,10).ngClassPending
),l(n
,24,0,e
.editing
),l(n
,26,0,e
.editing
||e
.ecProfiles
.length
<1)})}function lu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,13,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,1,"label",[["class","control-label col-sm-3"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Flags"])),(l()(),u
["\u0275eld"](3,0,null,null,10,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](4,0,null,null,9,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](5,0,null,null,8,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](6,0,null,null,5,"input",[["formControlName","ecOverwrites"],["id","ec-overwrites"],["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]],[[null,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,7).onChange(e
.target
.checked
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,7).onTouched()&&t
),t
},null,null)),u
["\u0275did"](7,16384,null,0,o
.c
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.c
]),u
["\u0275did"](9,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](11,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275eld"](12,0,null,null,1,"label",[["for","ec-overwrites"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["EC Overwrites"]))],function(l
,n
){l(n
,9,0,"ecOverwrites")},function(l
,n
){l(n
,6,0,u
["\u0275nov"](n
,11).ngClassUntouched
,u
["\u0275nov"](n
,11).ngClassTouched
,u
["\u0275nov"](n
,11).ngClassPristine
,u
["\u0275nov"](n
,11).ngClassDirty
,u
["\u0275nov"](n
,11).ngClassValid
,u
["\u0275nov"](n
,11).ngClassInvalid
,u
["\u0275nov"](n
,11).ngClassPending
)})}function nu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,36,"div",[],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,27,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](2,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](3,{"has-error":0}),(l()(),u
["\u0275eld"](4,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","pgNum"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](5,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Placement groups"])),(l()(),u
["\u0275eld"](7,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](8,0,null,null,20,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](9,0,null,null,8,"input",[["class","form-control"],["formControlName","pgNum"],["id","pgNum"],["min","1"],["name","pgNum"],["required",""],["type","number"]],[[1,"required",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]],[[null,"focus"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l
,n
,e
){var t
=!0,o
=l
.component
;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,10).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,10)._compositionEnd(e
.target
.value
)&&t
),"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onChange(e
.target
.value
)&&t
),"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onTouched()&&t
),"focus"===n
&&(t
=0!=(o
.externalPgChange
=!1)&&t
),"blur"===n
&&(t
=!1!==o
.alignPgs()&&t
),t
},null,null)),u
["\u0275did"](10,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275did"](11,16384,null,0,o
.C
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275did"](12,16384,null,0,o
.y
,[],{required
:[0,"required"]},null),u
["\u0275prd"](1024,null,o
.o
,function(l
){return[l
]},[o
.y
]),u
["\u0275prd"](1024,null,o
.p
,function(l
,n
){return[l
,n
]},[o
.e
,o
.C
]),u
["\u0275did"](15,671744,null,0,o
.j
,[[3,o
.d
],[6,o
.o
],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](17,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,qe
)),u
["\u0275did"](19,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ae
)),u
["\u0275did"](21,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Oe
)),u
["\u0275did"](23,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](24,0,null,null,2,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](25,0,null,null,1,"a",[["href","http://ceph.com/pgcalc"],["target","_blank"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Calculation help"])),(l()(),u
["\u0275and"](16777216,null,null,1,null,Le
)),u
["\u0275did"](28,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Ge
)),u
["\u0275did"](30,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Je
)),u
["\u0275did"](32,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Qe
)),u
["\u0275did"](34,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,lu
)),u
["\u0275did"](36,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
,t
=l(n
,3,0,e
.form
.showError("pgNum",u
["\u0275nov"](n
.parent
,2)));l(n
,2,0,"form-group",t
),l(n
,12,0,""),l(n
,15,0,"pgNum"),l(n
,19,0,e
.form
.showError("pgNum",u
["\u0275nov"](n
.parent
,2),"required")),l(n
,21,0,e
.form
.showError("pgNum",u
["\u0275nov"](n
.parent
,2),"min")),l(n
,23,0,e
.form
.showError("pgNum",u
["\u0275nov"](n
.parent
,2),"34")),l(n
,28,0,e
.externalPgChange
),l(n
,30,0,e
.form
.getValue("poolType")&&e
.current
.rules
.length
>0),l(n
,32,0,"replicated"===e
.form
.getValue("poolType")),l(n
,34,0,"erasure"===e
.form
.getValue("poolType")),l(n
,36,0,e
.info
.is_all_bluestore
&&"erasure"===e
.form
.getValue("poolType"))},function(l
,n
){l(n
,9,0,u
["\u0275nov"](n
,12).required
?"":null,u
["\u0275nov"](n
,17).ngClassUntouched
,u
["\u0275nov"](n
,17).ngClassTouched
,u
["\u0275nov"](n
,17).ngClassPristine
,u
["\u0275nov"](n
,17).ngClassDirty
,u
["\u0275nov"](n
,17).ngClassValid
,u
["\u0275nov"](n
,17).ngClassInvalid
,u
["\u0275nov"](n
,17).ngClassPending
)})}function eu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{value
:[0,"value"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{value
:[0,"value"]},null),(l()(),u
["\u0275ted"](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 uu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["Loading..."]))],function(l
,n
){l(n
,1,0,""),l(n
,2,0,"")},null)}function tu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["-- No erasure compression algorithm available --"]))],function(l
,n
){l(n
,1,0,""),l(n
,2,0,"")},null)}function ou(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),u
["\u0275did"](1,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{value
:[0,"value"]},null),u
["\u0275did"](2,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{value
:[0,"value"]},null),(l()(),u
["\u0275ted"](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 iu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Value should be greater than 0"]))],null,null)}function au(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Value should be less than the maximum blob size"]))],null,null)}function ru(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Value should be greater than 0"]))],null,null)}function su(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Value should be greater than the minimum blob size"]))],null,null)}function du(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Value should be between 0.0 and 1.0"]))],null,null)}function cu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,67,"div",[],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,17,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](2,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](3,{"has-error":0}),(l()(),u
["\u0275eld"](4,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","algorithm"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Algorithm"])),(l()(),u
["\u0275eld"](6,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](7,0,null,null,11,"select",[["class","form-control"],["formControlName","algorithm"],["id","algorithm"],["name","algorithm"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,8).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,8).onTouched()&&t
),t
},null,null)),u
["\u0275did"](8,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](10,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](12,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,uu
)),u
["\u0275did"](14,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,tu
)),u
["\u0275did"](16,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,ou
)),u
["\u0275did"](18,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275eld"](19,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](20,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](21,{"has-error":0}),(l()(),u
["\u0275eld"](22,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","minBlobSize"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Minimum blob size"])),(l()(),u
["\u0275eld"](24,0,null,null,11,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](25,0,null,null,6,"input",[["cdDimlessBinary",""],["class","form-control"],["defaultUnit","KiB"],["formControlName","minBlobSize"],["id","minBlobSize"],["min","0"],["name","minBlobSize"],["placeholder","e.g., 128KiB"],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,26)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,26).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,26)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,26)._compositionEnd(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,30).onBlur(e
.target
.value
)&&t
),t
},null,null)),u
["\u0275did"](26,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.e
]),u
["\u0275did"](28,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](30,81920,null,0,Te
.a
,[u
.ElementRef
,o
.q
,b
.a
,R
.a
],{defaultUnit
:[0,"defaultUnit"]},null),u
["\u0275did"](31,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,iu
)),u
["\u0275did"](33,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,au
)),u
["\u0275did"](35,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](36,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](37,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](38,{"has-error":0}),(l()(),u
["\u0275eld"](39,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","maxBlobSize"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Maximum blob size"])),(l()(),u
["\u0275eld"](41,0,null,null,11,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](42,0,null,null,6,"input",[["cdDimlessBinary",""],["class","form-control"],["defaultUnit","KiB"],["formControlName","maxBlobSize"],["id","maxBlobSize"],["min","0"],["placeholder","e.g., 512KiB"],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,43)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,43).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,43)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,43)._compositionEnd(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,47).onBlur(e
.target
.value
)&&t
),t
},null,null)),u
["\u0275did"](43,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.e
]),u
["\u0275did"](45,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](47,81920,null,0,Te
.a
,[u
.ElementRef
,o
.q
,b
.a
,R
.a
],{defaultUnit
:[0,"defaultUnit"]},null),u
["\u0275did"](48,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,ru
)),u
["\u0275did"](50,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,su
)),u
["\u0275did"](52,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](53,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](54,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](55,{"has-error":0}),(l()(),u
["\u0275eld"](56,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","ratio"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Ratio"])),(l()(),u
["\u0275eld"](58,0,null,null,9,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](59,0,null,null,6,"input",[["class","form-control"],["formControlName","ratio"],["id","ratio"],["max","1"],["min","0"],["name","ratio"],["placeholder","Compression ratio"],["step","0.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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,60)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,60).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,60)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,60)._compositionEnd(e
.target
.value
)&&t
),"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,61).onChange(e
.target
.value
)&&t
),"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,61).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,61).onTouched()&&t
),t
},null,null)),u
["\u0275did"](60,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275did"](61,16384,null,0,o
.C
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
,n
){return[l
,n
]},[o
.e
,o
.C
]),u
["\u0275did"](63,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](65,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,du
)),u
["\u0275did"](67,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
,t
=l(n
,3,0,e
.form
.showError("algorithm",u
["\u0275nov"](n
.parent
.parent
,2)));l(n
,2,0,"form-group",t
),l(n
,10,0,"algorithm"),l(n
,14,0,!e
.info
.compression_algorithms
),l(n
,16,0,e
.info
.compression_algorithms
&&0===e
.info
.compression_algorithms
.length
),l(n
,18,0,e
.info
.compression_algorithms
);var o
=l(n
,21,0,e
.form
.showError("minBlobSize",u
["\u0275nov"](n
.parent
.parent
,2)));l(n
,20,0,"form-group",o
),l(n
,28,0,"minBlobSize"),l(n
,30,0,"KiB"),l(n
,33,0,e
.form
.showError("minBlobSize",u
["\u0275nov"](n
.parent
.parent
,2),"min")),l(n
,35,0,e
.form
.showError("minBlobSize",u
["\u0275nov"](n
.parent
.parent
,2),"maximum"));var i
=l(n
,38,0,e
.form
.showError("maxBlobSize",u
["\u0275nov"](n
.parent
.parent
,2)));l(n
,37,0,"form-group",i
),l(n
,45,0,"maxBlobSize"),l(n
,47,0,"KiB"),l(n
,50,0,e
.form
.showError("maxBlobSize",u
["\u0275nov"](n
.parent
.parent
,2),"min")),l(n
,52,0,e
.form
.showError("maxBlobSize",u
["\u0275nov"](n
.parent
.parent
,2),"minimum"));var a
=l(n
,55,0,e
.form
.showError("ratio",u
["\u0275nov"](n
.parent
.parent
,2)));l(n
,54,0,"form-group",a
),l(n
,63,0,"ratio"),l(n
,67,0,e
.form
.showError("ratio",u
["\u0275nov"](n
.parent
.parent
,2),"min")||e
.form
.showError("ratio",u
["\u0275nov"](n
.parent
.parent
,2),"max"))},function(l
,n
){l(n
,7,0,u
["\u0275nov"](n
,12).ngClassUntouched
,u
["\u0275nov"](n
,12).ngClassTouched
,u
["\u0275nov"](n
,12).ngClassPristine
,u
["\u0275nov"](n
,12).ngClassDirty
,u
["\u0275nov"](n
,12).ngClassValid
,u
["\u0275nov"](n
,12).ngClassInvalid
,u
["\u0275nov"](n
,12).ngClassPending
),l(n
,25,0,u
["\u0275nov"](n
,31).ngClassUntouched
,u
["\u0275nov"](n
,31).ngClassTouched
,u
["\u0275nov"](n
,31).ngClassPristine
,u
["\u0275nov"](n
,31).ngClassDirty
,u
["\u0275nov"](n
,31).ngClassValid
,u
["\u0275nov"](n
,31).ngClassInvalid
,u
["\u0275nov"](n
,31).ngClassPending
),l(n
,42,0,u
["\u0275nov"](n
,48).ngClassUntouched
,u
["\u0275nov"](n
,48).ngClassTouched
,u
["\u0275nov"](n
,48).ngClassPristine
,u
["\u0275nov"](n
,48).ngClassDirty
,u
["\u0275nov"](n
,48).ngClassValid
,u
["\u0275nov"](n
,48).ngClassInvalid
,u
["\u0275nov"](n
,48).ngClassPending
),l(n
,59,0,u
["\u0275nov"](n
,65).ngClassUntouched
,u
["\u0275nov"](n
,65).ngClassTouched
,u
["\u0275nov"](n
,65).ngClassPristine
,u
["\u0275nov"](n
,65).ngClassDirty
,u
["\u0275nov"](n
,65).ngClassValid
,u
["\u0275nov"](n
,65).ngClassInvalid
,u
["\u0275nov"](n
,65).ngClassPending
)})}function pu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,19,"div",[["formGroupName","compression"]],[[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,null,null,null)),u
["\u0275did"](1,212992,null,0,o
.m
,[[3,o
.d
],[8,null],[8,null]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.d
,null,[o
.m
]),u
["\u0275did"](3,16384,null,0,o
.s
,[[4,o
.d
]],null,null),(l()(),u
["\u0275eld"](4,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Compression"])),(l()(),u
["\u0275eld"](6,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](7,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","mode"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Mode"])),(l()(),u
["\u0275eld"](9,0,null,null,8,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](10,0,null,null,7,"select",[["class","form-control"],["formControlName","mode"],["id","mode"],["name","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]],[[null,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,11).onTouched()&&t
),t
},null,null)),u
["\u0275did"](11,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](13,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](15,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,eu
)),u
["\u0275did"](17,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,cu
)),u
["\u0275did"](19,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
;l(n
,1,0,"compression"),l(n
,13,0,"mode"),l(n
,17,0,e
.info
.compression_modes
),l(n
,19,0,e
.hasCompressionEnabled())},function(l
,n
){l(n
,0,0,u
["\u0275nov"](n
,3).ngClassUntouched
,u
["\u0275nov"](n
,3).ngClassTouched
,u
["\u0275nov"](n
,3).ngClassPristine
,u
["\u0275nov"](n
,3).ngClassDirty
,u
["\u0275nov"](n
,3).ngClassValid
,u
["\u0275nov"](n
,3).ngClassInvalid
,u
["\u0275nov"](n
,3).ngClassPending
),l(n
,10,0,u
["\u0275nov"](n
,15).ngClassUntouched
,u
["\u0275nov"](n
,15).ngClassTouched
,u
["\u0275nov"](n
,15).ngClassPristine
,u
["\u0275nov"](n
,15).ngClassDirty
,u
["\u0275nov"](n
,15).ngClassValid
,u
["\u0275nov"](n
,15).ngClassInvalid
,u
["\u0275nov"](n
,15).ngClassPending
)})}function fu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,5,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](1,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),u
["\u0275eld"](2,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["It's not possible to create an RBD pool with '/' in the name."])),(l()(),u
["\u0275eld"](4,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Please change the name or remove 'rbd' from the applications list."]))],null,null)}function mu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,78,"form",[["class","form-horizontal"],["name","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
,e
){var t
=!0;return"submit"===n
&&(t
=!1!==u
["\u0275nov"](l
,2).onSubmit(e
)&&t
),"reset"===n
&&(t
=!1!==u
["\u0275nov"](l
,2).onReset()&&t
),t
},null,null)),u
["\u0275did"](1,16384,null,0,o
.D
,[],null,null),u
["\u0275did"](2,540672,[["formDir",4]],0,o
.l
,[[8,null],[8,null]],{form
:[0,"form"]},null),u
["\u0275prd"](2048,null,o
.d
,null,[o
.l
]),u
["\u0275did"](4,16384,null,0,o
.s
,[[4,o
.d
]],null,null),(l()(),u
["\u0275eld"](5,0,null,null,73,"div",[["class","panel panel-default"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](6,0,null,null,4,"div",[["class","panel-heading"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](7,0,null,null,3,"h3",[["class","panel-title"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](8,null,["","",""])),u
["\u0275ppd"](9,1),u
["\u0275ppd"](10,1),(l()(),u
["\u0275eld"](11,0,null,null,58,"div",[["class","panel-body"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](12,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](13,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](14,{"has-error":0}),(l()(),u
["\u0275eld"](15,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","name"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](16,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Name"])),(l()(),u
["\u0275eld"](18,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](19,0,null,null,11,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](20,0,null,null,6,"input",[["autofocus",""],["class","form-control"],["formControlName","name"],["id","name"],["name","name"],["placeholder","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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l
,n
,e
){var t
=!0;return"input"===n
&&(t
=!1!==u
["\u0275nov"](l
,22)._handleInput(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,22).onTouched()&&t
),"compositionstart"===n
&&(t
=!1!==u
["\u0275nov"](l
,22)._compositionStart()&&t
),"compositionend"===n
&&(t
=!1!==u
["\u0275nov"](l
,22)._compositionEnd(e
.target
.value
)&&t
),t
},null,null)),u
["\u0275did"](21,4210688,null,0,vl
.a
,[u
.ElementRef
],null,null),u
["\u0275did"](22,16384,null,0,o
.e
,[u
.Renderer2
,u
.ElementRef
,[2,o
.b
]],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.e
]),u
["\u0275did"](24,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](26,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Pe
)),u
["\u0275did"](28,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,xe
)),u
["\u0275did"](30,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](31,0,null,null,21,"div",[["class","form-group"]],null,null,null,null,null)),u
["\u0275did"](32,278528,null,0,fl
.NgClass
,[u
.IterableDiffers
,u
.KeyValueDiffers
,u
.ElementRef
,u
.Renderer2
],{klass
:[0,"klass"],ngClass
:[1,"ngClass"]},null),u
["\u0275pod"](33,{"has-error":0}),(l()(),u
["\u0275eld"](34,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","poolType"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](35,0,null,null,1,null,null,null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Pool type"])),(l()(),u
["\u0275eld"](37,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](38,0,null,null,14,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](39,0,null,null,11,"select",[["class","form-control"],["formControlName","poolType"],["id","poolType"],["name","poolType"]],[[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,"change"],[null,"blur"]],function(l
,n
,e
){var t
=!0;return"change"===n
&&(t
=!1!==u
["\u0275nov"](l
,40).onChange(e
.target
.value
)&&t
),"blur"===n
&&(t
=!1!==u
["\u0275nov"](l
,40).onTouched()&&t
),t
},null,null)),u
["\u0275did"](40,16384,null,0,o
.z
,[u
.Renderer2
,u
.ElementRef
],null,null),u
["\u0275prd"](1024,null,o
.p
,function(l
){return[l
]},[o
.z
]),u
["\u0275did"](42,671744,null,0,o
.j
,[[3,o
.d
],[8,null],[8,null],[6,o
.p
],[2,o
.F
]],{name
:[0,"name"]},null),u
["\u0275prd"](2048,null,o
.q
,null,[o
.j
]),u
["\u0275did"](44,16384,null,0,o
.r
,[[4,o
.q
]],null,null),(l()(),u
["\u0275eld"](45,0,null,null,3,"option",[["ngValue",""]],null,null,null,null,null)),u
["\u0275did"](46,147456,null,0,o
.v
,[u
.ElementRef
,u
.Renderer2
,[2,o
.z
]],{ngValue
:[0,"ngValue"]},null),u
["\u0275did"](47,147456,null,0,o
.G
,[u
.ElementRef
,u
.Renderer2
,[8,null]],{ngValue
:[0,"ngValue"]},null),(l()(),u
["\u0275ted"](-1,null,["-- Select a pool type --"])),(l()(),u
["\u0275and"](16777216,null,null,1,null,ze
)),u
["\u0275did"](50,278528,null,0,fl
.NgForOf
,[u
.ViewContainerRef
,u
.TemplateRef
,u
.IterableDiffers
],{ngForOf
:[0,"ngForOf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,Fe
)),u
["\u0275did"](52,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,nu
)),u
["\u0275did"](54,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](55,0,null,null,6,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](56,0,null,null,1,"label",[["class","col-sm-3 control-label"],["for","applications"]],null,null,null,null,null)),(l()(),u
["\u0275ted"](-1,null,["Applications"])),(l()(),u
["\u0275eld"](58,0,null,null,3,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](59,0,null,null,2,"span",[["class","form-control no-border full-height"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](60,0,null,null,1,"cd-select-badges",[["id","applications"]],null,[[null,"selection"]],function(l
,n
,e
){var u
=!0;return"selection"===n
&&(u
=!1!==l
.component
.appSelection()&&u
),u
},we
.b
,we
.a
)),u
["\u0275did"](61,49152,null,0,Se
.a
,[s
.a
],{data
:[0,"data"],options
:[1,"options"],messages
:[2,"messages"],selectionLimit
:[3,"selectionLimit"],customBadges
:[4,"customBadges"],customBadgeValidators
:[5,"customBadgeValidators"]},{selection
:"selection"}),(l()(),u
["\u0275and"](16777216,null,null,1,null,pu
)),u
["\u0275did"](63,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](64,0,null,null,2,"div",[],[[8,"hidden",0]],null,null,null,null)),(l()(),u
["\u0275eld"](65,0,null,null,1,"cd-rbd-configuration-form",[],null,[[null,"changes"]],function(l
,n
,e
){var u
=!0;return"changes"===n
&&(u
=!1!==(l
.component
.currentConfigurationValues
=e())&&u
),u
},Ne
.b
,Ne
.a
)),u
["\u0275did"](66,114688,null,0,_e
.a
,[R
.a
,ie
.a
],{form
:[0,"form"],initializeData
:[1,"initializeData"]},{changes
:"changes"}),(l()(),u
["\u0275eld"](67,0,null,null,2,"div",[["class","form-group has-error"]],null,null,null,null,null)),(l()(),u
["\u0275and"](16777216,null,null,1,null,fu
)),u
["\u0275did"](69,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275eld"](70,0,null,null,8,"div",[["class","panel-footer"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](71,0,null,null,7,"div",[["class","button-group text-right"]],null,null,null,null,null)),(l()(),u
["\u0275eld"](72,0,null,null,4,"cd-submit-button",[["type","button"]],null,[[null,"submitAction"]],function(l
,n
,e
){var u
=!0;return"submitAction"===n
&&(u
=!1!==l
.component
.submit()&&u
),u
},bl
.b
,bl
.a
)),u
["\u0275did"](73,114688,null,0,Cl
.a
,[u
.ElementRef
],{form
:[0,"form"],type
:[1,"type"]},{submitAction
:"submitAction"}),(l()(),u
["\u0275ted"](74,0,["","",""])),u
["\u0275ppd"](75,1),u
["\u0275ppd"](76,1),(l()(),u
["\u0275eld"](77,0,null,null,1,"cd-back-button",[],null,null,null,Rl
.b
,Rl
.a
)),u
["\u0275did"](78,49152,null,0,yl
.a
,[fl
.Location
,t
.b
],null,null)],function(l
,n
){var e
=n
.component
;l(n
,2,0,e
.form
);var t
=l(n
,14,0,e
.form
.showError("name",u
["\u0275nov"](n
,2)));l(n
,13,0,"form-group",t
),l(n
,24,0,"name"),l(n
,28,0,e
.form
.showError("name",u
["\u0275nov"](n
,2),"required")),l(n
,30,0,e
.form
.showError("name",u
["\u0275nov"](n
,2),"uniqueName"));var o
=l(n
,33,0,e
.form
.showError("poolType",u
["\u0275nov"](n
,2)));l(n
,32,0,"form-group",o
),l(n
,42,0,"poolType"),l(n
,46,0,""),l(n
,47,0,""),l(n
,50,0,e
.data
.poolTypes
),l(n
,52,0,e
.form
.showError("poolType",u
["\u0275nov"](n
,2),"required")),l(n
,54,0,e
.form
.getValue("poolType")),l(n
,61,0,e
.data
.applications
.selected
,e
.data
.applications
.available
,e
.data
.applications
.messages
,4,!0,e
.data
.applications
.validators
),l(n
,63,0,e
.info
.is_all_bluestore
),l(n
,66,0,e
.form
,e
.initializeConfigData
),l(n
,69,0,e
.form
.hasError("rbdPool")),l(n
,73,0,u
["\u0275nov"](n
,2),"button")},function(l
,n
){var e
=n
.component
;l(n
,0,0,u
["\u0275nov"](n
,4).ngClassUntouched
,u
["\u0275nov"](n
,4).ngClassTouched
,u
["\u0275nov"](n
,4).ngClassPristine
,u
["\u0275nov"](n
,4).ngClassDirty
,u
["\u0275nov"](n
,4).ngClassValid
,u
["\u0275nov"](n
,4).ngClassInvalid
,u
["\u0275nov"](n
,4).ngClassPending
);var t
=u
["\u0275unv"](n
,8,0,l(n
,9,0,u
["\u0275nov"](n
.parent
,0),e
.action
)),o
=u
["\u0275unv"](n
,8,1,l(n
,10,0,u
["\u0275nov"](n
.parent
,1),e
.resource
));l(n
,8,0,t
,o
),l(n
,20,0,u
["\u0275nov"](n
,26).ngClassUntouched
,u
["\u0275nov"](n
,26).ngClassTouched
,u
["\u0275nov"](n
,26).ngClassPristine
,u
["\u0275nov"](n
,26).ngClassDirty
,u
["\u0275nov"](n
,26).ngClassValid
,u
["\u0275nov"](n
,26).ngClassInvalid
,u
["\u0275nov"](n
,26).ngClassPending
),l(n
,39,0,u
["\u0275nov"](n
,44).ngClassUntouched
,u
["\u0275nov"](n
,44).ngClassTouched
,u
["\u0275nov"](n
,44).ngClassPristine
,u
["\u0275nov"](n
,44).ngClassDirty
,u
["\u0275nov"](n
,44).ngClassValid
,u
["\u0275nov"](n
,44).ngClassInvalid
,u
["\u0275nov"](n
,44).ngClassPending
),l(n
,64,0,"replicated"!==e
.form
.get("poolType").value
||-1===e
.data
.applications
.selected
.indexOf("rbd"));var i
=u
["\u0275unv"](n
,74,0,l(n
,75,0,u
["\u0275nov"](n
.parent
,0),e
.action
)),a
=u
["\u0275unv"](n
,74,1,l(n
,76,0,u
["\u0275nov"](n
.parent
,1),e
.resource
));l(n
,74,0,i
,a
)})}function gu(l
){return u
["\u0275vid"](0,[u
["\u0275pid"](0,fl
.TitleCasePipe
,[]),u
["\u0275pid"](0,hl
.a
,[]),(l()(),u
["\u0275eld"](2,0,null,null,4,"div",[["class","col-sm-12 col-lg-6"]],null,null,null,null,null)),(l()(),u
["\u0275and"](16777216,null,null,1,null,ke
)),u
["\u0275did"](4,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null),(l()(),u
["\u0275and"](16777216,null,null,1,null,mu
)),u
["\u0275did"](6,16384,null,0,fl
.NgIf
,[u
.ViewContainerRef
,u
.TemplateRef
],{ngIf
:[0,"ngIf"]},null)],function(l
,n
){var e
=n
.component
;l(n
,4,0,!(e
.info
&&e
.ecProfiles
)),l(n
,6,0,e
.info
&&e
.ecProfiles
)},null)}function hu(l
){return u
["\u0275vid"](0,[(l()(),u
["\u0275eld"](0,0,null,null,1,"cd-pool-form",[],null,null,null,gu
,De
)),u
["\u0275did"](1,114688,null,0,N
,[b
.a
,Nn
.a
,Nn
.l
,Il
.b
,p
.a
,C
.a
,R
.a
,Il
.b
,y
.a
,c
,s
.a
,t
.b
],null,null)],function(l
,n
){l(n
,1,0)},null)}var vu
=u
["\u0275ccf"]("cd-pool-form",N
,hu
,{},{},[]);e
.d(n
,"PoolModuleNgFactory",function(){return bu
}),e
.d(n
,"RoutedPoolModuleNgFactory",function(){return Cu
});var bu
=u
["\u0275cmf"](j
,[],function(l
){return u
["\u0275mod"]([u
["\u0275mpd"](512,u
.ComponentFactoryResolver
,u
["\u0275CodegenComponentFactoryResolver"],[[8,[K
.a
,$.a
,J
.a
,H
.a
,H
.b
,W
.a
,Z
.a
,Y
.a
,X
.a
,Q
.a
,ll
.a
,nl
.a
,el
.a
,ul
.a
,ul
.b
,ul
.c
,tl
.a
,ol
.a
,il
.a
,al
.a
,rl
.a
,sl
.a
,dl
.a
,cl
.a
,pl
.a
,ln
]],[3,u
.ComponentFactoryResolver
],u
.NgModuleRef
]),u
["\u0275mpd"](4608,fl
.NgLocalization
,fl
.NgLocaleLocalization
,[u
.LOCALE_ID
,[2,fl
["\u0275angular_packages_common_common_a"]]]),u
["\u0275mpd"](4608,nn
.a
,nn
.a
,[s
.a
]),u
["\u0275mpd"](4608,fl
.DatePipe
,fl
.DatePipe
,[u
.LOCALE_ID
]),u
["\u0275mpd"](4608,en
.a
,en
.a
,[]),u
["\u0275mpd"](4608,un
.a
,un
.a
,[]),u
["\u0275mpd"](4608,R
.a
,R
.a
,[]),u
["\u0275mpd"](4608,b
.a
,b
.a
,[R
.a
]),u
["\u0275mpd"](4608,tn
.a
,tn
.a
,[R
.a
]),u
["\u0275mpd"](4608,z
.a
,z
.a
,[R
.a
]),u
["\u0275mpd"](4608,on
.a
,on
.a
,[]),u
["\u0275mpd"](4608,an
.a
,an
.a
,[]),u
["\u0275mpd"](4608,rn
.a
,rn
.a
,[]),u
["\u0275mpd"](4608,sn
.a
,sn
.a
,[]),u
["\u0275mpd"](4608,dn
.a
,dn
.a
,[fl
.DatePipe
]),u
["\u0275mpd"](4608,cn
.a
,cn
.a
,[]),u
["\u0275mpd"](4608,pn
.a
,pn
.a
,[]),u
["\u0275mpd"](4608,fn
.a
,fn
.a
,[]),u
["\u0275mpd"](4608,mn
.a
,mn
.a
,[]),u
["\u0275mpd"](4608,gn
.a
,gn
.a
,[]),u
["\u0275mpd"](4608,hn
.a
,hn
.a
,[s
.a
]),u
["\u0275mpd"](4608,hl
.a
,hl
.a
,[]),u
["\u0275mpd"](4608,o
.E
,o
.E
,[]),u
["\u0275mpd"](4608,o
.h
,o
.h
,[]),u
["\u0275mpd"](4608,vn
.b
,vn
.b
,[]),u
["\u0275mpd"](4608,bn
.a
,bn
.a
,[]),u
["\u0275mpd"](4608,Cn
.a
,Cn
.a
,[]),u
["\u0275mpd"](4608,Rn
.a
,Rn
.a
,[u
.ComponentFactoryResolver
,u
.NgZone
,u
.Injector
,Cn
.a
,u
.ApplicationRef
]),u
["\u0275mpd"](4608,yn
.a
,yn
.a
,[]),u
["\u0275mpd"](4608,Il
.b
,Il
.b
,[u
.RendererFactory2
,Rn
.a
]),u
["\u0275mpd"](4608,In
.ScrollbarHelper
,In
.ScrollbarHelper
,[En
.DOCUMENT
]),u
["\u0275mpd"](4608,Vn
.DimensionsHelper
,Vn
.DimensionsHelper
,[]),u
["\u0275mpd"](4608,Tn
.ColumnChangesService
,Tn
.ColumnChangesService
,[]),u
["\u0275mpd"](4608,wn
.f
,wn
.f
,[]),u
["\u0275mpd"](4608,C
.a
,C
.a
,[]),u
["\u0275mpd"](4608,Sn
.a
,Sn
.a
,[Nn
.l
,C
.a
]),u
["\u0275mpd"](4608,_n
.NodeDraggableService
,_n
.NodeDraggableService
,[]),u
["\u0275mpd"](4608,Dn
.NodeMenuService
,Dn
.NodeMenuService
,[]),u
["\u0275mpd"](4608,kn
.TreeService
,kn
.TreeService
,[_n
.NodeDraggableService
]),u
["\u0275mpd"](4608,Pn
.e
,Pn
.e
,[]),u
["\u0275mpd"](4608,xn
.c
,xn
.c
,[]),u
["\u0275mpd"](4608,zn
.w
,zn
.w
,[]),u
["\u0275mpd"](4608,zn
.y
,zn
.y
,[]),u
["\u0275mpd"](4608,zn
.a
,zn
.a
,[]),u
["\u0275mpd"](4608,zn
.e
,zn
.e
,[]),u
["\u0275mpd"](4608,zn
.c
,zn
.c
,[]),u
["\u0275mpd"](4608,zn
.f
,zn
.f
,[]),u
["\u0275mpd"](4608,zn
.x
,zn
.x
,[zn
.y
,zn
.f
]),u
["\u0275mpd"](1073742336,fl
.CommonModule
,fl
.CommonModule
,[]),u
["\u0275mpd"](1073742336,Fn
.a
,Fn
.a
,[]),u
["\u0275mpd"](1073742336,Pn
.c
,Pn
.c
,[]),u
["\u0275mpd"](1073742336,bn
.d
,bn
.d
,[]),u
["\u0275mpd"](1073742336,qn
.a
,qn
.a
,[]),u
["\u0275mpd"](1073742336,o
.B
,o
.B
,[]),u
["\u0275mpd"](1073742336,o
.n
,o
.n
,[]),u
["\u0275mpd"](1073742336,o
.x
,o
.x
,[]),u
["\u0275mpd"](1073742336,vn
.c
,vn
.c
,[]),u
["\u0275mpd"](1073742336,yn
.d
,yn
.d
,[]),u
["\u0275mpd"](1073742336,An
.ChartsModule
,An
.ChartsModule
,[]),u
["\u0275mpd"](1073742336,Il
.e
,Il
.e
,[]),u
["\u0275mpd"](1073742336,On
.a
,On
.a
,[]),u
["\u0275mpd"](1073742336,wn
.e
,wn
.e
,[]),u
["\u0275mpd"](1073742336,Ln
.a
,Ln
.a
,[]),u
["\u0275mpd"](1073742336,Mn
.NgxDatatableModule
,Mn
.NgxDatatableModule
,[]),u
["\u0275mpd"](1073742336,Nn
.p
,Nn
.p
,[[2,Nn
.v
],[2,Nn
.l
]]),u
["\u0275mpd"](1073742336,jn
.a
,jn
.a
,[]),u
["\u0275mpd"](1073742336,d
.a
,d
.a
,[]),u
["\u0275mpd"](1073742336,Bn
.a
,Bn
.a
,[]),u
["\u0275mpd"](1073742336,xn
.d
,xn
.d
,[]),u
["\u0275mpd"](1073742336,Un
.TreeModule
,Un
.TreeModule
,[]),u
["\u0275mpd"](1073742336,Gn
.a
,Gn
.a
,[]),u
["\u0275mpd"](1073742336,zn
.d
,zn
.d
,[]),u
["\u0275mpd"](1073742336,Kn
.a
,Kn
.a
,[]),u
["\u0275mpd"](1073742336,j
,j
,[]),u
["\u0275mpd"](256,u
.LOCALE_ID
,"en-US",[]),u
["\u0275mpd"](256,wn
.a
,{autoClose
:!0,insideClick
:!1},[]),u
["\u0275mpd"](256,u
.TRANSLATIONS_FORMAT
,"xlf",[])])}),Cu
=u
["\u0275cmf"](G
,[],function(l
){return u
["\u0275mod"]([u
["\u0275mpd"](512,u
.ComponentFactoryResolver
,u
["\u0275CodegenComponentFactoryResolver"],[[8,[K
.a
,$.a
,J
.a
,H
.a
,H
.b
,W
.a
,Z
.a
,Y
.a
,X
.a
,Q
.a
,ll
.a
,nl
.a
,el
.a
,ul
.a
,ul
.b
,ul
.c
,tl
.a
,ol
.a
,il
.a
,al
.a
,rl
.a
,sl
.a
,dl
.a
,cl
.a
,pl
.a
,ln
,Ve
,vu
]],[3,u
.ComponentFactoryResolver
],u
.NgModuleRef
]),u
["\u0275mpd"](4608,fl
.NgLocalization
,fl
.NgLocaleLocalization
,[u
.LOCALE_ID
,[2,fl
["\u0275angular_packages_common_common_a"]]]),u
["\u0275mpd"](4608,nn
.a
,nn
.a
,[s
.a
]),u
["\u0275mpd"](4608,fl
.DatePipe
,fl
.DatePipe
,[u
.LOCALE_ID
]),u
["\u0275mpd"](4608,en
.a
,en
.a
,[]),u
["\u0275mpd"](4608,un
.a
,un
.a
,[]),u
["\u0275mpd"](4608,R
.a
,R
.a
,[]),u
["\u0275mpd"](4608,b
.a
,b
.a
,[R
.a
]),u
["\u0275mpd"](4608,tn
.a
,tn
.a
,[R
.a
]),u
["\u0275mpd"](4608,z
.a
,z
.a
,[R
.a
]),u
["\u0275mpd"](4608,on
.a
,on
.a
,[]),u
["\u0275mpd"](4608,an
.a
,an
.a
,[]),u
["\u0275mpd"](4608,rn
.a
,rn
.a
,[]),u
["\u0275mpd"](4608,sn
.a
,sn
.a
,[]),u
["\u0275mpd"](4608,dn
.a
,dn
.a
,[fl
.DatePipe
]),u
["\u0275mpd"](4608,cn
.a
,cn
.a
,[]),u
["\u0275mpd"](4608,pn
.a
,pn
.a
,[]),u
["\u0275mpd"](4608,fn
.a
,fn
.a
,[]),u
["\u0275mpd"](4608,mn
.a
,mn
.a
,[]),u
["\u0275mpd"](4608,gn
.a
,gn
.a
,[]),u
["\u0275mpd"](4608,hn
.a
,hn
.a
,[s
.a
]),u
["\u0275mpd"](4608,hl
.a
,hl
.a
,[]),u
["\u0275mpd"](4608,o
.E
,o
.E
,[]),u
["\u0275mpd"](4608,o
.h
,o
.h
,[]),u
["\u0275mpd"](4608,vn
.b
,vn
.b
,[]),u
["\u0275mpd"](4608,bn
.a
,bn
.a
,[]),u
["\u0275mpd"](4608,Cn
.a
,Cn
.a
,[]),u
["\u0275mpd"](4608,Rn
.a
,Rn
.a
,[u
.ComponentFactoryResolver
,u
.NgZone
,u
.Injector
,Cn
.a
,u
.ApplicationRef
]),u
["\u0275mpd"](4608,yn
.a
,yn
.a
,[]),u
["\u0275mpd"](4608,Il
.b
,Il
.b
,[u
.RendererFactory2
,Rn
.a
]),u
["\u0275mpd"](4608,In
.ScrollbarHelper
,In
.ScrollbarHelper
,[En
.DOCUMENT
]),u
["\u0275mpd"](4608,Vn
.DimensionsHelper
,Vn
.DimensionsHelper
,[]),u
["\u0275mpd"](4608,Tn
.ColumnChangesService
,Tn
.ColumnChangesService
,[]),u
["\u0275mpd"](4608,wn
.f
,wn
.f
,[]),u
["\u0275mpd"](4608,C
.a
,C
.a
,[]),u
["\u0275mpd"](4608,Sn
.a
,Sn
.a
,[Nn
.l
,C
.a
]),u
["\u0275mpd"](4608,_n
.NodeDraggableService
,_n
.NodeDraggableService
,[]),u
["\u0275mpd"](4608,Dn
.NodeMenuService
,Dn
.NodeMenuService
,[]),u
["\u0275mpd"](4608,kn
.TreeService
,kn
.TreeService
,[_n
.NodeDraggableService
]),u
["\u0275mpd"](4608,Pn
.e
,Pn
.e
,[]),u
["\u0275mpd"](4608,xn
.c
,xn
.c
,[]),u
["\u0275mpd"](4608,zn
.w
,zn
.w
,[]),u
["\u0275mpd"](4608,zn
.y
,zn
.y
,[]),u
["\u0275mpd"](4608,zn
.a
,zn
.a
,[]),u
["\u0275mpd"](4608,zn
.e
,zn
.e
,[]),u
["\u0275mpd"](4608,zn
.c
,zn
.c
,[]),u
["\u0275mpd"](4608,zn
.f
,zn
.f
,[]),u
["\u0275mpd"](4608,zn
.x
,zn
.x
,[zn
.y
,zn
.f
]),u
["\u0275mpd"](1073742336,fl
.CommonModule
,fl
.CommonModule
,[]),u
["\u0275mpd"](1073742336,Fn
.a
,Fn
.a
,[]),u
["\u0275mpd"](1073742336,Pn
.c
,Pn
.c
,[]),u
["\u0275mpd"](1073742336,bn
.d
,bn
.d
,[]),u
["\u0275mpd"](1073742336,qn
.a
,qn
.a
,[]),u
["\u0275mpd"](1073742336,o
.B
,o
.B
,[]),u
["\u0275mpd"](1073742336,o
.n
,o
.n
,[]),u
["\u0275mpd"](1073742336,o
.x
,o
.x
,[]),u
["\u0275mpd"](1073742336,vn
.c
,vn
.c
,[]),u
["\u0275mpd"](1073742336,yn
.d
,yn
.d
,[]),u
["\u0275mpd"](1073742336,An
.ChartsModule
,An
.ChartsModule
,[]),u
["\u0275mpd"](1073742336,Il
.e
,Il
.e
,[]),u
["\u0275mpd"](1073742336,On
.a
,On
.a
,[]),u
["\u0275mpd"](1073742336,wn
.e
,wn
.e
,[]),u
["\u0275mpd"](1073742336,Ln
.a
,Ln
.a
,[]),u
["\u0275mpd"](1073742336,Mn
.NgxDatatableModule
,Mn
.NgxDatatableModule
,[]),u
["\u0275mpd"](1073742336,Nn
.p
,Nn
.p
,[[2,Nn
.v
],[2,Nn
.l
]]),u
["\u0275mpd"](1073742336,jn
.a
,jn
.a
,[]),u
["\u0275mpd"](1073742336,d
.a
,d
.a
,[]),u
["\u0275mpd"](1073742336,Bn
.a
,Bn
.a
,[]),u
["\u0275mpd"](1073742336,xn
.d
,xn
.d
,[]),u
["\u0275mpd"](1073742336,Un
.TreeModule
,Un
.TreeModule
,[]),u
["\u0275mpd"](1073742336,Gn
.a
,Gn
.a
,[]),u
["\u0275mpd"](1073742336,zn
.d
,zn
.d
,[]),u
["\u0275mpd"](1073742336,Kn
.a
,Kn
.a
,[]),u
["\u0275mpd"](1073742336,j
,j
,[]),u
["\u0275mpd"](1073742336,G
,G
,[]),u
["\u0275mpd"](256,u
.LOCALE_ID
,"en-US",[]),u
["\u0275mpd"](256,wn
.a
,{autoClose
:!0,insideClick
:!1},[]),u
["\u0275mpd"](1024,Nn
.j
,function(){return[[{path
:"",component
:M
},{path
:"create",component
:N
,data
:B
},{path
:"edit/:name",component
:N
,data
:U
}]]},[]),u
["\u0275mpd"](256,u
.TRANSLATIONS_FORMAT
,"xlf",[])])})}}]);